Signed/
Unsigned.
Feed a signed integer through ZigZag. Print its unsigned label. Read it back to get the original.

Input
-3
Encoded
5
Decoded
-3
decode(encode(value)) === value
Codec source noticeFeed a signed integer through ZigZag. Print its unsigned label. Read it back to get the original.

Input
-3
Encoded
5
Decoded
-3
decode(encode(value)) === value
Codec source notice