flix

0.79.0

SizeUnit

Type of file size units, and its functions.

enum SizeUnit with Eq, ToStringSource
case Bytes
case KiloBytes
case MegaBytes
case GigaBytes
case TeraBytes

Type of file size units.

Instances

Eq, ToString

Definitions

def toBytes(u: SizeUnit): Int64§ Source

Returns the number of bytes for the given size unit u.