Collection of binary format tools and manipulations
Go to file
2023-03-13 16:27:06 +01:00
src support for @Unsigned fields and fox bad error of kotlinjs x is Float glitch: it returns true for integers 2023-03-13 16:27:06 +01:00
.gitignore initial: varing and smarting packing tools 2023-02-03 13:10:43 +01:00
build.gradle.kts encoder and decoder now support extendable formats. 2023-03-12 22:48:21 +01:00
gradle.properties initial: varing and smarting packing tools 2023-02-03 13:10:43 +01:00
gradlew initial: varing and smarting packing tools 2023-02-03 13:10:43 +01:00
gradlew.bat initial: varing and smarting packing tools 2023-02-03 13:10:43 +01:00
README.md upgraded to k1.8, upgraded stools, added more docs on codecs 2023-03-11 15:36:09 +01:00
settings.gradle.kts initial: varing and smarting packing tools 2023-02-03 13:10:43 +01:00

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 [src:Smartint]. For not too small numbers it is slightly more effective than VarInt codec, for example on Long values it saves a byte.