blob: 6c443988bbc9a28ab31b7672c1484ab0a45d5cee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
package sdkio
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
)
|