interface Units {
    memory-bytes: number;
    memory-units: string[];
    size-bytes: number;
    size-units: string[];
    speed-bytes: number;
    speed-units: string[];
}

Properties

memory-bytes: number

number of bytes in a KB (1000 for kB; 1024 for KiB)

memory-units: string[]

4 strings: KB/s, MB/s, GB/s, TB/s

size-bytes: number

number of bytes in a KB (1000 for kB; 1024 for KiB)

size-units: string[]

4 strings: KB/s, MB/s, GB/s, TB/s

speed-bytes: number

number of bytes in a KB (1000 for kB; 1024 for KiB)

speed-units: string[]

4 strings: KB/s, MB/s, GB/s, TB/s