Expand description
Byte Unit
A library for interaction with units of bytes.
Macros
Convert n GB to bytes.
Convert n GiB to bytes.
Convert n KB to bytes.
Convert n KiB to bytes.
Convert n MB to bytes.
Convert n MiB to bytes.
Convert n PB to bytes.
Convert n PiB to bytes.
Convert n TB to bytes.
Convert n TiB to bytes.
Structs
Generated from the
get_appropriate_unit
and get_adjusted_unit
methods of a Byte
object.Represent the n-bytes data. Use associated functions:
from_unit
, from_bytes
, from_string
, to create the instance.