Skip to main content
Version: 0.12

size

This module is responsible for converting size units into bytes

Functions

TiB(size)

Returns the number of bytes in a given number of tebibytes

size::TiB(10)

PiB(size)

Returns the number of bytes in a given number of pebibytes

size::PiB(10)

GiB(size)

Returns the number of bytes in a given number of gibibytes

size::GiB(10)

kiB(size)

Returns the number of bytes in a given number of kibibytes

size::kiB(10)

EiB(size)

Returns the number of bytes in a given number of exbibytes

size::EiB(10)

MiB(size)

Returns the number of bytes in a given number of mebibytes

size::MiB(10)