$ luarocks install binarystream
Lua library to work with binary data.
Allows to write and read:
- signed and unsigned numbers (8, 16, 32, 64 bits)
- floating point numbers (32, 64 bits)
- strings (cstrings with zero end, prefixed by length or any custom ones)
- other streams