varnum

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package varnum provides variable-length encoding for numbers (including integers and floating-point numbers).

For better performance, all functions in this package and its subpackages are unsafe for concurrency unless otherwise specified.

Directories

Path Synopsis
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL