Skip to main content
Version: edge

size

This module is responsible for converting size units into bytes

Functions

EiB(size)

Returns the number of bytes in a given number of exbibytes

size::EiB(10)

GiB(size)

Returns the number of bytes in a given number of gibibytes

size::GiB(10)

MiB(size)

Returns the number of bytes in a given number of mebibytes

size::MiB(10)

PiB(size)

Returns the number of bytes in a given number of pebibytes

size::PiB(10)

TiB(size)

Returns the number of bytes in a given number of tebibytes

size::TiB(10)

kiB(size)

Returns the number of bytes in a given number of kibibytes

size::kiB(10)