[][src]Module vint64::signed::zigzag

Zigzag encoding for signed integers.

This module contains the raw zigzag encoding algorithm.

For encoding signed integers as vint64, use the functions located in the parent vint64::signed module.

Functions

decode

Decode a signed 64-bit integer from zigzag encoding

encode

Encode a signed 64-bit integer in zigzag encoding