[Feature request] Expose bit packing and compression methods
Wizzard
✭
Bolt has compression and bit packing somewhere internally, but it is not exposed in the public API.
I need a library with bit packing and compression for serializing game states for saving and for streaming terrain.
This seems like a trivial request, and it helps me to not introduce another dependency to my project.
Related: Also, I would like to know if outgoing data in Bolt has other compression applied to it besides bit packing
I need a library with bit packing and compression for serializing game states for saving and for streaming terrain.
This seems like a trivial request, and it helps me to not introduce another dependency to my project.
Related: Also, I would like to know if outgoing data in Bolt has other compression applied to it besides bit packing
0
Comments
-
Bolt uses udpkit, the current source code for that is not available0
-
https://github.com/jbruening/udpkit/blob/master/src/managed/udpkit/udpStream.cs
See: ReadUShort (int bits), WriteUShort (ushort value, int bits)
I'd just like the utility of writing and reading primitive types with a specific accuracy in bits to a byte array.0 -
Related: I also think that we should be able to add our own compression via a callback when sending/receiving.0