Zig-Zag encoding of integers into natural numbers. This encoding scheme has the advantage that LEB128, which is normally only specified for unsigned integers, will naturally represent small-magnitude signed integers (positive or negative) in few bytes.
-
Notifications
You must be signed in to change notification settings - Fork 3
Zig zag encoding
License
byteverse/zigzag
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|