korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-memory
/
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