encodeutil

package
v0.0.0-...-095f669 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendVarUInt32

func AppendVarUInt32(prefix []byte, x uint32) []byte

AppendVarUInt32 creates a new key prefix, by encoding and appending a var-uint32 to the provided prefix.

func SkipPrefix

func SkipPrefix(r *bytes.Reader, prefix []byte) error

SkipPrefix skips the provided prefix in the reader or returns an error. This is used for efficient logical decoding of keys.

func ValuesOf

func ValuesOf(values ...interface{}) []protoreflect.Value

ValuesOf takes the arguments and converts them to protoreflect.Value's.

Types

This section is empty.

Jump to

Keyboard shortcuts

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