strings

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Byte  = 0
	KByte = 10
	MByte = 20
	GByte = 30
)

Variables

View Source
var AlphaNum = []byte(`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`)

Functions

func ParseByteSize

func ParseByteSize(size string) (int, error)

func RandomCreateBytes

func RandomCreateBytes(n int, alphabets []byte) []byte

RandomCreateBytes generate random []byte by specify chars.

Types

This section is empty.

Jump to

Keyboard shortcuts

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