Help us shape the future of Go! Take the 2026 Go Developer Survey

padding

package
v1.34.9 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 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