ReadAllLimit reads from r until an error, EOF, or after n bytes and returns
the data it read. A successful call returns err == nil, not err == EOF.
Because ReadAllLimit is defined to read from src until EOF it does not
treat an EOF from Read as an error to be reported. If the limit is reached
ReadAllLimit will return ErrLimitReached as an error.
const (
// KB is a Kilobyte KB ByteSize = 1 << (10 * iota)
// MB is a Megabyte MB
// GB is a Gigabyte GB
// TB is a Terabyte TB
// PB is a Petabyte PB
// EB is an Exabyte EB
// ZB is a Zettabyte ZB
// YB is a Yottabyte YB
)