Buffer

expect constructor(size: Int, direct: Boolean = false)
expect constructor(array: ByteArray, offset: Int = 0, size: Int = array.size - offset)
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)
constructor(buffer: <Error class: unknown class>)
actual constructor(size: Int, direct: Boolean)
actual constructor(array: ByteArray, offset: Int, size: Int)