Expand description
Common types and functions for byte size handling
Macros§
- format
- Creates a
Stringusing interpolation of runtime expressions.
Structs§
- Human
Byte Range - Parse
Error - String
- A UTF-8–encoded, growable string.
Enums§
Constants§
- B
- byte size for 1 byte
- GB
- bytes size for 1 gigabyte
- GIB
- bytes size for 1 gibibyte
- KB
- bytes size for 1 kilobyte
- KIB
- bytes size for 1 kibibyte
- MB
- bytes size for 1 megabyte
- MIB
- bytes size for 1 mebibyte
- PB
- bytes size for 1 petabyte
- PIB
- bytes size for 1 pebibyte
- TB
- bytes size for 1 terabyte
- TIB
- bytes size for 1 tebibyte