Skip to content

Latest commit

 

History

History
15 lines (6 loc) · 549 Bytes

File metadata and controls

15 lines (6 loc) · 549 Bytes

Used to reducing the packet size in Hathora, but could be used for anything else too.

Example 300 being converted to Byte Array > [130, 44]

image

Example [130, 44] byte array being convert back to a number > 300

image

Code needs some serious cleaning up still, but it is mostly functional, Decoding is a bit buggy, fix soon.