File Size v2.1.1 FileSize.Convertible protocol View Source

A protocol that defines functions to convert file sizes to other units.

Link to this section Summary

Functions

Converts the given file size to a given unit.

Gets the normalized value from the given file size struct.

Link to this section Types

Link to this section Functions

Link to this function

convert(size, unit_info) View Source

Converts the given file size to a given unit.

Gets the normalized value from the given file size struct.