2022-10-01 16:12:07 +02:00
|
|
|
package io
|
2019-11-07 20:05:39 +01:00
|
|
|
|
|
|
|
const (
|
|
|
|
// Byte is 8 bits
|
|
|
|
Byte int64 = 1
|
|
|
|
// KibiByte (KiB) is 1024 Bytes
|
|
|
|
KibiByte = Byte * 1024
|
|
|
|
// MebiByte (MiB) is 1024 KiB
|
|
|
|
MebiByte = KibiByte * 1024
|
|
|
|
// GibiByte (GiB) is 1024 MiB
|
|
|
|
GibiByte = MebiByte * 1024
|
|
|
|
)
|