astibyte

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: MIT Imports: 0 Imported by: 6

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