padding

package
v1.23.4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PadInPlace

func PadInPlace(data []byte) []byte

PadInPlace attempts to extend data out to 32 byte intervals. Appends a 1-byte trailer with the padding length.

func UnpadInPlace

func UnpadInPlace(data []byte) ([]byte, error)

UnpadInPlace removes padding according to the appended length byte.

Types

This section is empty.

Jump to

Keyboard shortcuts

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