Documentation
¶
Overview ¶
Index ¶
Constants ¶
View Source
const ( B = 1 << (10 * iota) KB MB GB // 1048576000 1073741824 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader simulates a fake read-only file of an arbitrary size. The contents of this file cycles through the lowercase alphabetical ascii characters (abcdefghijklmnopqrstuvwxyz) Data is generated as requested, so it is safe to generate a 100GB file with 1GB of memory free on your machine.
Click to show internal directories.
Click to hide internal directories.