shortvec

package
v1.10.18 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeLen

func DecodeLen(r io.Reader) (val int, err error)

DecodeLen decodes a shortvec encoded len from the reader.

func EncodeLen

func EncodeLen(w io.Writer, len int) (n int, err error)

EncodeLen encodes the specified len into the writer.

If len > math.MaxUint16, an error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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