varuint64

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 0 Imported by: 5

README

varuint64

Documentation

Index

Constants

View Source
const (
	// MaxSize is the maximum possible size of varuint64.
	MaxSize = 9
)

Variables

This section is empty.

Functions

func Contains

func Contains(b []byte) bool

Contains returns true if slice contains complete varuint64.

func Parse

func Parse(b []byte) (uint64, uint64)

Parse parses varuint64 present in the slice.

func Put

func Put(b []byte, v uint64) uint64

Put puts varuint64 in the buffer.

func Size

func Size(v uint64) uint64

Size computes the size of the varuint64.

Types

This section is empty.

Jump to

Keyboard shortcuts

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