memorySize2Byte

open fun memorySize2Byte(memorySize: Long, unit: Int): Long

Size of memory in unit to size of byte.

Return

size of byte

Parameters

memorySize

Size of memory.

unit

The unit of memory size.