netSerial

serializer producing compact bitstreams
git clone https://noulin.net/git/netSerial.git
Log | Files | Refs | README | LICENSE

commit 4218bf0f6d62f672f52067ec6d8594c111fb7c99
parent b5103027386a74d2b929689d2f74f4541e2b0b76
Author: Remy Noulin <loader2x@gmail.com>
Date:   Sat, 13 Oct 2018 20:38:58 +0200

update readme

README.md   | 6 +++---
package.yml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)

Diffstat:
MREADME.md | 6+++---
Mpackage.yml | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -27,7 +27,7 @@ smallBytest *bitstream = serialG(&n); # Encoding -Data types are encoding on 4 bits: +Data types are encoded on 4 bits: - undefined - bool - dict @@ -66,7 +66,7 @@ The arrays have 2 variants: normal and uniform. Normal arrays have elements of any types whereas uniform arrays have only one type of elements. -For example, `[null,null,null]` is an uniform array of undefined values, encoded as: +For example, `[null,null,null]` is a uniform array of undefined values, encoded as: ``` 0x0f - uniform array of undefined(null) elements 0x03 - 3 elements @@ -74,7 +74,7 @@ For example, `[null,null,null]` is an uniform array of undefined values, encoded undefined is a type without data, only the element count is needed to represent an array of null elements. -The bool type is encoded in 4bits type + 1 bit data and are packed by default: +The bool type is encoded in 4bits type + 1 bit data and is packed by default: ``` {"sdf":true,"0":null,"1":null,"2":true,"3":true} diff --git a/package.yml b/package.yml @@ -1,6 +1,6 @@ --- name: netSerial - version: 0.0.1 + version: 0.0.2 description: "network serializer with binary format more compact than the default serializer in smallJson" bin: ./netSerial.c #cflags: -DA -ggdb -std=gnu11 -fPIC -pipe