The encoding consists of the the integer value divided by the multiplier encoded as a ZigZag-encoded Base-128 64-bit Little Endian variable-length unsigned integer.
More...
Public Attributes | |
| std::uint64_t | multiplier |
| The multiplier value. | |
The encoding consists of the the integer value divided by the multiplier encoded as a ZigZag-encoded Base-128 64-bit Little Endian variable-length unsigned integer.
| Option | Type | Description |
|---|---|---|
multiplier | uint | The multiplier value |
| Condition | Description |
|---|---|
value % multiplier == 0 | The input value must be divisible by the multiplier |
Given the input value 10, where the multiplier is 5, the encoding results in the Base-128 64-bit Little Endian variable-length unsigned integer 4: