pub fn b(size: Int) -> ByteSize
pub fn bytes(size: ByteSize) -> Int
pub fn gb(size: Int) -> ByteSize
pub fn gib(size: Int) -> ByteSize
pub fn kb(size: Int) -> ByteSize
Create a ByteSize from size
kB
pub fn kib(size: Int) -> ByteSize
pub fn mb(size: Int) -> ByteSize
pub fn mib(size: Int) -> ByteSize
pub fn pb(size: Int) -> ByteSize
pub fn pib(size: Int) -> ByteSize
pub fn tb(size: Int) -> ByteSize
pub fn tib(size: Int) -> ByteSize
pub fn to_string(size: ByteSize) -> String
pub fn to_string_decimal(size: ByteSize) -> String