util

package
v0.0.0-...-685ed42 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandPrintable

func RandPrintable(size int) []byte

RandPrintable generates a random string of printable characters (ASCII Range 32 - 126). Note that these are just random enough to make them incompressible. We pre-allocate a large buffer of random data and just read from that buffer at random offsets. If you request enough data, there will certainly be large repeating sequences.

Types

This section is empty.

Jump to

Keyboard shortcuts

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