Collection of binary format tools and manipulations
src | ||
.gitignore | ||
build.gradle.kts | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
README.md | ||
settings.gradle.kts |
Binary tools
Work in progress not ready to any practical use
Goals:
- Efficient binary serialization
- Pack/unpack byte tools
- 2 flavors of space-effecient varint packing
- CRCs and CRC-protected blocks
- Async variants
Some publics
SmartInt codec
Variable-length signed and unsigned integer codec, see object SmartInt
. For not too small numbers it is slightly more effective than VarInt
codec, for example on Long
values it saves a byte.