You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a serialization library that supports **variable length integers/doubles**, **UTF8 strings** and serialization of **boolean bits**.
@@ -22,12 +25,18 @@ Each "packet" is defined in a packet table, a fixed number of fields is assigned
22
25
23
26
Programmers must register their packets in the table before any de/serialization activity, this way thread safety can be achieved.
24
27
28
+
-------------------------------------
29
+
25
30
## Installation
26
31
27
32
For now only Linux manual installation option is available, along with Android binding...
28
33
29
34
## Manual-Linux-Installation
30
35
36
+
### Requirements-Linux
37
+
38
+
-[cmake](https://cmake.org/install/) is required in order to build this library.
39
+
31
40
After downloading the git repository, move into the downloaded directory, make a build folder and generate build files using cmake.
32
41
```
33
42
git clone https://github.com/st1vms/dynamic-bits
@@ -46,6 +55,8 @@ sudo make install
46
55
sudo ldconfig /usr/local/lib
47
56
```
48
57
58
+
-------------------------------------
59
+
49
60
## Uninstalling
50
61
51
62
Run these two commands inside project folder...
@@ -54,8 +65,10 @@ chmod u+x uninstall.sh
54
65
sudo ./uninstall.sh
55
66
```
56
67
57
-
## Manual-Android-Installation
68
+
-------------------------------------
58
69
70
+
## Manual-Android-Installation
71
+
- Install [Android Studio](https://cmake.org/install/) if not already installed.
59
72
- Open the JDBits bind project inside Android Studio
60
73
- After syncing gradle files, open a terminal and execute this command:
61
74
```
@@ -66,13 +79,17 @@ You will find the generated **jdbits-<build_version>.aar** file inside the `buil
66
79
67
80
Copy the AAR file into your Android project **`libs`** folder, and import is as an **`implementation`** dependency, using the Android Studio dependency manager in your Project Settings.
68
81
82
+
-------------------------------------
83
+
69
84
## Usage
70
85
71
86
Please refer to the examples provided in the [examples](examples/) folder, for the specific language/platform you're using...
0 commit comments