45 if (
_count && blocksize_r )
Store and operate with byte count.
static const Unit GB
1000^3 Byte
static const Unit MB
1000^2 Byte
const Unit & bestUnit1000() const
Return the best Unit (B,kB,MB,GB,TB) for count.
ByteCount & fillBlock(ByteCount blocksize_r=K)
Adjust count to multiple of blocksize_r (default 1K).
static const Unit G
1024^3 Byte
static const Unit B
1 Byte
Simple handling of Units.
static const Unit M
1024^2 Byte
static const Unit K
1024 Byte
static const Unit T
1024^4 Byte
static const Unit TB
1000^4 Byte
static const Unit kB
1000 Byte
const Unit & bestUnit() const
Return the best Unit (B,K,M,G,T) for count.