toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.memory.unit
/
ByteUnits
/
Companion
Companion
object
Companion
Members
Properties
ZERO
Link copied to clipboard
val
ZERO
:
ByteUnits
Functions
from
Bytes
Link copied to clipboard
fun
fromBytes
(
bytes
:
Double
)
:
ByteUnits
fun
fromBytes
(
bytes
:
Int
)
:
ByteUnits
fun
fromBytes
(
bytes
:
Long
)
:
ByteUnits
fun
fromBytes
(
bytes
:
Number
)
:
ByteUnits
from
Giga
Bytes
Link copied to clipboard
fun
fromGigaBytes
(
gigaBytes
:
Number
)
:
ByteUnits
from
Kilo
Bytes
Link copied to clipboard
fun
fromKiloBytes
(
kiloBytes
:
Number
)
:
ByteUnits
from
Mega
Bytes
Link copied to clipboard
fun
fromMegaBytes
(
megaBytes
:
Number
)
:
ByteUnits