Documentation
¶
Overview ¶
Package usize provides byte-sized data unit constants.
Index ¶
Constants ¶
View Source
const ( Byte = 1 B = Byte )
View Source
const ( Kilobyte = 1000 * Byte Megabyte = 1000 * Kilobyte Gigabyte = 1000 * Megabyte Terabyte = 1000 * Gigabyte Petabyte = 1000 * Terabyte )
View Source
const ( Kibibyte = 1024 * Byte Mebibyte = 1024 * Kibibyte Gibibyte = 1024 * Mebibyte Tebibyte = 1024 * Gibibyte Pebibyte = 1024 * Tebibyte )
View Source
const ( Kilobit = Kilobyte / 8 Megabit = Megabyte / 8 Gigabit = Gigabyte / 8 Terabit = Terabyte / 8 Petabit = Petabyte / 8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.