astibyte

package
v0.0.0-...-6a70e61 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PadLeft

func PadLeft(i []byte, rpl byte, length int) []byte

PadLeft adds n rpl to the left of i so that len is length

func PadRight

func PadRight(i []byte, rpl byte, length int) []byte

PadRight adds n rpl to the right of i so that len is length

func ToLength

func ToLength(i []byte, rpl byte, length int) []byte

ToLength forces the length of a []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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