File Size v2.1.0 API Reference
Modules
A file size calculator, parser and formatter.
A struct that represents a file size in bits as lowest possible value.
A struct that represents a file size in bytes as lowest possible value, which is a chunk of 8 bits each.
A protocol that defines calculations that are possible on file sizes.
A protocol that allows comparison of two file sizes.
A protocol that defines functions to convert file sizes to other units.
A module that provides functions to convert file sizes to human-readable strings.
A module that provides functions to convert values to file sizes.
Provides a sigil that you can use as shortcut to define file sizes easily.
A module to retrieve information about known units.
A struct that contains information for a particular unit.
Exceptions
An exception that raises when converting to an unknown unit.
An exception that raises when converting to an unknown unit system.
An exception that raises when a value could not be parsed into a file size.