Documentation ¶
Overview ¶
Package encoding provides encoding and decoding functions.
For better performance, all functions in this package and its subpackages are unsafe for concurrency unless otherwise specified.
Directories ¶
Path | Synopsis |
---|---|
Package hex provides hexadecimal encoding and decoding functions.
|
Package hex provides hexadecimal encoding and decoding functions. |
Package varnum provides variable-length encoding for numbers (including integers and floating-point numbers).
|
Package varnum provides variable-length encoding for numbers (including integers and floating-point numbers). |
uintconv
Package uintconv provides one-to-one mappings between unsigned integers and signed integers or floating-point numbers, so that the encoding and decoding functions for unsigned integers can be applied to signed integers and floating-point numbers.
|
Package uintconv provides one-to-one mappings between unsigned integers and signed integers or floating-point numbers, so that the encoding and decoding functions for unsigned integers can be applied to signed integers and floating-point numbers. |
vlq
Package vlq provides variable-length encoding for numbers (including integers and floating-point numbers) based on the variable-length quantity (VLQ), with additional offsets to eliminate redundancy.
|
Package vlq provides variable-length encoding for numbers (including integers and floating-point numbers) based on the variable-length quantity (VLQ), with additional offsets to eliminate redundancy. |
Click to show internal directories.
Click to hide internal directories.