Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrZB = fmt.Errorf("zero bytes written")
Functions ¶
func ByteExample ¶ added in v0.7.5
func ByteExample() string
ByteExample saves a string of multibyte Unicode characters, tabs and newlines to a randomized, threadsafe filename. The path to the file is returned.
func FileExample ¶
FileExample saves the string to a randomized, threadsafe filename. The path to the file is returned.
func LargeExample ¶
func LargeExample() string
LargeExample generates and saves a 800k file of filler us-ascii text to a randomized, threadsafe filename. The path to the file is returned.
func MegaExample ¶
func MegaExample() string
MegaExample generates and saves a 1.5MB file of filler us-ascii text to a randomized, threadsafe filename. The path to the file is returned.
Types ¶
Click to show internal directories.
Click to hide internal directories.