util

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadVarUint32

func ReadVarUint32(r io.Reader) (uint32, error)

ReadVarUint32 reads up to 5 bytes from the source buffer passed and sets the integer produced to a pointer.

func WriteVarUint32

func WriteVarUint32(w io.Writer, x uint32) error

WriteVarUint32 writes a uint32 to the destination buffer passed with a size of 1-5 bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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