Buffer

constructor(buffer: ByteBuffer)
actual constructor(size: Int, direct: Boolean)
actual constructor(array: ByteArray, offset: Int, size: Int)
expect constructor(size: Int, direct: Boolean = false)


expect constructor(array: ByteArray, offset: Int = 0, size: Int = array.size - offset)

Deprecated

Can't wrap without copying on WasmJS

constructor(dataView: DataView)
actual constructor(size: Int, direct: Boolean)
actual constructor(array: ByteArray, offset: Int, size: Int)
constructor(buffer: ByteBuffer)
actual constructor(size: Int, direct: Boolean)
actual constructor(array: ByteArray, offset: Int, size: Int)
constructor(data: ByteArray, offset: Int, size: Int, dummy: Unit)
actual constructor(size: Int, direct: Boolean)
actual constructor(array: ByteArray, offset: Int, size: Int)
constructor(dataView: DataView)
actual constructor(size: Int, direct: Boolean)
actual constructor(array: ByteArray, offset: Int, size: Int)