internal

package
v0.0.0-...-09b1dbd Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendZero

func AppendZero(buf []byte, blockSize uint) []byte

AppendZero appends 0 bytes to buf until it's length is a multiple of blockSize.

func Decode

func Decode[T any](b []byte) (ret T, err error)

func PrependZero

func PrependZero(buf []byte, blockSize uint) []byte

PrependZero prepends 0 bytes to buf until it's length is a multiple of blockSize.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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