14#include <zypp-core/ByteCount.h>
45 if (
_count && blocksize_r )
Store and operate with byte count.
static const Unit MB
1000^2 Byte
static const Unit G
1024^3 Byte
const Unit & bestUnit1000() const
Return the best Unit (B,kB,MB,GB,TB) for count.
static const Unit kB
1000 Byte
ByteCount & fillBlock(ByteCount blocksize_r=K)
Adjust count to multiple of blocksize_r (default 1K).
const Unit & bestUnit() const
Return the best Unit (B,K,M,G,T) for count.
static const Unit K
1024 Byte
static const Unit TB
1000^4 Byte
static const Unit B
1 Byte
static const Unit M
1024^2 Byte
static const Unit GB
1000^3 Byte
static const Unit T
1024^4 Byte
Simple handling of Units.
Easy-to use interface to the ZYPP dependency resolver.