util

package
v0.0.0-...-5c07d26 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeULeb128

func DecodeULeb128(reader io.Reader) (uint32, error)

DecodeULeb128 decodes from the reader using the LEB128 standard and returns a uint32 of the value it found.

func EncodeULeb128

func EncodeULeb128(value uint32, writer io.Writer) error

EncodeULeb128 encodes the integer using the LEB128 Standard. 32 bit unsigned integer should be sufficient as that would represent a data length of 4.2 GB.

func SanitizeKey

func SanitizeKey(key string) string

SanitizeKey with make sure a "/" exist before the key but not after.

Types

This section is empty.

Jump to

Keyboard shortcuts

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