crencoding

package
v0.0.0-...-fe658a2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UvarintLen32

func UvarintLen32(x uint32) int

UvarintLen32 returns the number of bytes necessary for the Go encoding/binary.Uvarint encoding.

It is always equivalent to len(binary.AppendUvarint(nil, uint32(x))) but faster.

func UvarintLen64

func UvarintLen64(x uint64) int

UvarintLen64 returns the number of bytes necessary for the Go encoding/binary.Uvarint encoding.

It is always equivalent to len(binary.AppendUvarint(nil, x)) but faster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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