Registry / serialization / dennwc-varint

dennwc-varint

JSON →
library1.0.0gogounverified

A Go package for variable-length integer encoding and decoding.

go get github.com/dennwc/varint
INSTALL
IMPORT
SIG · DENNWC-VARINT
D
dennwc-varint
serializationgov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

varint
github.com/dennwc/varint

Encode and decode a variable-length integer.

package main import ( "fmt" "github.com/dennwc/varint" ) func main() { buf := varint.PutUvarint(42) val, _ := varint.Uvarint(buf) fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
dennwc-varint — go get dennwc-varint · libregistry