flix

0.78.0

SizeUnit

Type of file size units, and its functions.

enum SizeUnit with Eq, ToStringSource
case Bytescase KiloBytescase MegaBytescase GigaBytescase 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.