Buffer

expect class Buffer
actual class Buffer
actual class Buffer
actual class Buffer

Constructors

Link copied to clipboard
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)

Types

Link copied to clipboard
expect object Companion
actual object Companion
actual object Companion
actual object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val buffer: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
val bufferBE: <Error class: unknown class>
Link copied to clipboard
val bufferLE: <Error class: unknown class>
Link copied to clipboard
expect val byteOffset: Int
actual val byteOffset: Int
actual val byteOffset: Int
actual val byteOffset: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val end: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Buffer.nioBuffer: <Error class: unknown class>
Link copied to clipboard
val Buffer.nioFloatBuffer: <Error class: unknown class>
Link copied to clipboard
val Buffer.nioIntBuffer: <Error class: unknown class>
Link copied to clipboard
val offset: Int
Link copied to clipboard
val size: Int
Link copied to clipboard
Link copied to clipboard
expect val sizeInBytes: Int
actual val sizeInBytes: Int
actual val sizeInBytes: Int
actual val sizeInBytes: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Buffer.clone(direct: Boolean = false): Buffer
Link copied to clipboard
fun Buffer.copyOf(newSize: Int): Buffer
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun Buffer.getArrayFloat32(index: Int, out: FloatArray, offset: Int = 0, size: Int = out.size - offset): FloatArray
Link copied to clipboard
fun Buffer.getArrayFloat64(index: Int, out: DoubleArray, offset: Int = 0, size: Int = out.size - offset): DoubleArray
Link copied to clipboard
fun Buffer.getArrayInt16(index: Int, out: ShortArray, offset: Int = 0, size: Int = out.size - offset): ShortArray
Link copied to clipboard
fun Buffer.getArrayInt32(index: Int, out: IntArray, offset: Int = 0, size: Int = out.size - offset): IntArray
Link copied to clipboard
fun Buffer.getArrayInt64(index: Int, out: LongArray, offset: Int = 0, size: Int = out.size - offset): LongArray
Link copied to clipboard
fun Buffer.getArrayInt8(index: Int, out: ByteArray, offset: Int = 0, size: Int = out.size - offset): ByteArray
Link copied to clipboard
fun Buffer.getArrayUInt16(index: Int, out: UShortArrayInt, offset: Int = 0, size: Int = out.size - offset): UShortArrayInt
Link copied to clipboard
fun Buffer.getArrayUInt8(index: Int, out: UByteArrayInt, offset: Int = 0, size: Int = out.size - offset): UByteArrayInt
Link copied to clipboard
inline fun Buffer.getF32(byteOffset: Int, littleEndian: Boolean = true): Float
Link copied to clipboard
fun Buffer.getF32Array(byteOffset: Int, size: Int, littleEndian: Boolean = true): FloatArray
fun Buffer.getF32Array(byteOffset: Int, out: FloatArray, start: Int = 0, size: Int = out.size - start, littleEndian: Boolean = true): FloatArray
Link copied to clipboard
fun Buffer.getF32ArrayBE(byteOffset: Int, size: Int): FloatArray
fun Buffer.getF32ArrayBE(byteOffset: Int, out: FloatArray, start: Int = 0, size: Int = out.size - start): FloatArray
Link copied to clipboard
fun Buffer.getF32ArrayLE(byteOffset: Int, size: Int): FloatArray
fun Buffer.getF32ArrayLE(byteOffset: Int, out: FloatArray, start: Int = 0, size: Int = out.size - start): FloatArray
Link copied to clipboard
expect fun getF32BE(byteOffset: Int): Float
actual fun getF32BE(byteOffset: Int): Float
actual fun getF32BE(byteOffset: Int): Float
actual fun getF32BE(byteOffset: Int): Float
Link copied to clipboard
expect fun getF32LE(byteOffset: Int): Float
actual fun getF32LE(byteOffset: Int): Float
actual fun getF32LE(byteOffset: Int): Float
actual fun getF32LE(byteOffset: Int): Float
Link copied to clipboard
inline fun Buffer.getF64(byteOffset: Int, littleEndian: Boolean = true): Double
Link copied to clipboard
fun Buffer.getF64Array(byteOffset: Int, size: Int, littleEndian: Boolean = true): DoubleArray
fun Buffer.getF64Array(byteOffset: Int, out: DoubleArray, start: Int = 0, size: Int = out.size - start, littleEndian: Boolean = true): DoubleArray
Link copied to clipboard
fun Buffer.getF64ArrayBE(byteOffset: Int, size: Int): DoubleArray
fun Buffer.getF64ArrayBE(byteOffset: Int, out: DoubleArray, start: Int = 0, size: Int = out.size - start): DoubleArray
Link copied to clipboard
fun Buffer.getF64ArrayLE(byteOffset: Int, size: Int): DoubleArray
fun Buffer.getF64ArrayLE(byteOffset: Int, out: DoubleArray, start: Int = 0, size: Int = out.size - start): DoubleArray
Link copied to clipboard
expect fun getF64BE(byteOffset: Int): Double
actual fun getF64BE(byteOffset: Int): Double
actual fun getF64BE(byteOffset: Int): Double
actual fun getF64BE(byteOffset: Int): Double
Link copied to clipboard
expect fun getF64LE(byteOffset: Int): Double
actual fun getF64LE(byteOffset: Int): Double
actual fun getF64LE(byteOffset: Int): Double
actual fun getF64LE(byteOffset: Int): Double
Link copied to clipboard
fun Buffer.getFloat32(index: Int): Float
Link copied to clipboard
Link copied to clipboard
fun Buffer.getInt16(index: Int): Short
Link copied to clipboard
fun Buffer.getInt32(index: Int): Int
Link copied to clipboard
fun Buffer.getInt64(index: Int): Long
Link copied to clipboard
fun Buffer.getInt8(index: Int): Byte
Link copied to clipboard
inline fun Buffer.getS16(byteOffset: Int, littleEndian: Boolean = true): Short
Link copied to clipboard
fun Buffer.getS16Array(byteOffset: Int, size: Int, littleEndian: Boolean = true): ShortArray
fun Buffer.getS16Array(byteOffset: Int, out: ShortArray, start: Int = 0, size: Int = out.size - start, littleEndian: Boolean = true): ShortArray
Link copied to clipboard
fun Buffer.getS16ArrayBE(byteOffset: Int, size: Int): ShortArray
fun Buffer.getS16ArrayBE(byteOffset: Int, out: ShortArray, start: Int = 0, size: Int = out.size - start): ShortArray
Link copied to clipboard
fun Buffer.getS16ArrayLE(byteOffset: Int, size: Int): ShortArray
fun Buffer.getS16ArrayLE(byteOffset: Int, out: ShortArray, start: Int = 0, size: Int = out.size - start): ShortArray
Link copied to clipboard
expect fun getS16BE(byteOffset: Int): Short
actual fun getS16BE(byteOffset: Int): Short
actual fun getS16BE(byteOffset: Int): Short
actual fun getS16BE(byteOffset: Int): Short
Link copied to clipboard
expect fun getS16LE(byteOffset: Int): Short
actual fun getS16LE(byteOffset: Int): Short
actual fun getS16LE(byteOffset: Int): Short
actual fun getS16LE(byteOffset: Int): Short
Link copied to clipboard
inline fun Buffer.getS32(byteOffset: Int, littleEndian: Boolean = true): Int
Link copied to clipboard
fun Buffer.getS32Array(byteOffset: Int, size: Int, littleEndian: Boolean = true): IntArray
fun Buffer.getS32Array(byteOffset: Int, out: IntArray, start: Int = 0, size: Int = out.size - start, littleEndian: Boolean = true): IntArray
Link copied to clipboard
fun Buffer.getS32ArrayBE(byteOffset: Int, size: Int): IntArray
fun Buffer.getS32ArrayBE(byteOffset: Int, out: IntArray, start: Int = 0, size: Int = out.size - start): IntArray
Link copied to clipboard
fun Buffer.getS32ArrayLE(byteOffset: Int, size: Int): IntArray
fun Buffer.getS32ArrayLE(byteOffset: Int, out: IntArray, start: Int = 0, size: Int = out.size - start): IntArray
Link copied to clipboard
expect fun getS32BE(byteOffset: Int): Int
actual fun getS32BE(byteOffset: Int): Int
actual fun getS32BE(byteOffset: Int): Int
actual fun getS32BE(byteOffset: Int): Int
Link copied to clipboard
expect fun getS32LE(byteOffset: Int): Int
actual fun getS32LE(byteOffset: Int): Int
actual fun getS32LE(byteOffset: Int): Int
actual fun getS32LE(byteOffset: Int): Int
Link copied to clipboard
inline fun Buffer.getS64(byteOffset: Int, littleEndian: Boolean = true): Long
Link copied to clipboard
fun Buffer.getS64Array(byteOffset: Int, size: Int, littleEndian: Boolean = true): LongArray
fun Buffer.getS64Array(byteOffset: Int, out: LongArray, start: Int = 0, size: Int = out.size - start, littleEndian: Boolean = true): LongArray
Link copied to clipboard
fun Buffer.getS64ArrayBE(byteOffset: Int, size: Int): LongArray
fun Buffer.getS64ArrayBE(byteOffset: Int, out: LongArray, start: Int = 0, size: Int = out.size - start): LongArray
Link copied to clipboard
fun Buffer.getS64ArrayLE(byteOffset: Int, size: Int): LongArray
fun Buffer.getS64ArrayLE(byteOffset: Int, out: LongArray, start: Int = 0, size: Int = out.size - start): LongArray
Link copied to clipboard
expect fun getS64BE(byteOffset: Int): Long
actual fun getS64BE(byteOffset: Int): Long
actual fun getS64BE(byteOffset: Int): Long
actual fun getS64BE(byteOffset: Int): Long
Link copied to clipboard
expect fun getS64LE(byteOffset: Int): Long
actual fun getS64LE(byteOffset: Int): Long
actual fun getS64LE(byteOffset: Int): Long
actual fun getS64LE(byteOffset: Int): Long
Link copied to clipboard
expect fun getS8(byteOffset: Int): Byte
actual fun getS8(byteOffset: Int): Byte
actual fun getS8(byteOffset: Int): Byte
actual fun getS8(byteOffset: Int): Byte
Link copied to clipboard
fun Buffer.getS8Array(byteOffset: Int, size: Int): ByteArray
fun Buffer.getS8Array(byteOffset: Int, out: ByteArray, start: Int = 0, size: Int = out.size - start): ByteArray
Link copied to clipboard
inline fun Buffer.getU16(byteOffset: Int, littleEndian: Boolean = true): Int
Link copied to clipboard
fun Buffer.getU16BE(byteOffset: Int): Int
Link copied to clipboard
fun Buffer.getU16LE(byteOffset: Int): Int
Link copied to clipboard
inline fun Buffer.getU32(byteOffset: Int, littleEndian: Boolean = true): Long
Link copied to clipboard
fun Buffer.getU32BE(byteOffset: Int): Long
Link copied to clipboard
fun Buffer.getU32LE(byteOffset: Int): Long
Link copied to clipboard
fun Buffer.getU8(byteOffset: Int): Int
inline fun Buffer.getU8(byteOffset: Int, littleEndian: Boolean = true): Int
Link copied to clipboard
fun Buffer.getUInt16(index: Int): Int
Link copied to clipboard
fun Buffer.getUInt8(index: Int): Int
Link copied to clipboard
fun Buffer.getUnalignedArrayFloat32(byteOffset: Int, out: FloatArray, offset: Int = 0, size: Int = out.size - offset): FloatArray
Link copied to clipboard
fun Buffer.getUnalignedArrayFloat64(byteOffset: Int, out: DoubleArray, offset: Int = 0, size: Int = out.size - offset): DoubleArray
Link copied to clipboard
fun Buffer.getUnalignedArrayInt16(byteOffset: Int, out: ShortArray, offset: Int = 0, size: Int = out.size - offset): ShortArray
Link copied to clipboard
fun Buffer.getUnalignedArrayInt32(byteOffset: Int, out: IntArray, offset: Int = 0, size: Int = out.size - offset): IntArray
Link copied to clipboard
fun Buffer.getUnalignedArrayInt64(byteOffset: Int, out: LongArray, offset: Int = 0, size: Int = out.size - offset): LongArray
Link copied to clipboard
fun Buffer.getUnalignedArrayInt8(byteOffset: Int, out: ByteArray, offset: Int = 0, size: Int = out.size - offset): ByteArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Buffer.getUnalignedInt16(byteOffset: Int): Short
Link copied to clipboard
fun Buffer.getUnalignedInt32(byteOffset: Int): Int
Link copied to clipboard
fun Buffer.getUnalignedInt64(byteOffset: Int): Long
Link copied to clipboard
fun Buffer.getUnalignedInt8(byteOffset: Int): Byte
Link copied to clipboard
fun Buffer.getUnalignedUInt16(byteOffset: Int): Int
Link copied to clipboard
fun Buffer.getUnalignedUInt8(byteOffset: Int): Int
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
inline fun Buffer.set16(byteOffset: Int, value: Short, littleEndian: Boolean = true)
Link copied to clipboard
expect fun set16BE(byteOffset: Int, value: Short)
actual fun set16BE(byteOffset: Int, value: Short)
actual fun set16BE(byteOffset: Int, value: Short)
actual fun set16BE(byteOffset: Int, value: Short)
Link copied to clipboard
fun Buffer.set16BEClamped(byteOffset: Int, value: Int)
Link copied to clipboard
inline fun Buffer.set16Clamped(byteOffset: Int, value: Int, littleEndian: Boolean = true)
Link copied to clipboard
expect fun set16LE(byteOffset: Int, value: Short)
actual fun set16LE(byteOffset: Int, value: Short)
actual fun set16LE(byteOffset: Int, value: Short)
actual fun set16LE(byteOffset: Int, value: Short)
Link copied to clipboard
fun Buffer.set16LEClamped(byteOffset: Int, value: Int)
Link copied to clipboard
inline fun Buffer.set32(byteOffset: Int, value: Int, littleEndian: Boolean = true)
Link copied to clipboard
expect fun set32BE(byteOffset: Int, value: Int)
actual fun set32BE(byteOffset: Int, value: Int)
actual fun set32BE(byteOffset: Int, value: Int)
actual fun set32BE(byteOffset: Int, value: Int)
Link copied to clipboard
expect fun set32LE(byteOffset: Int, value: Int)
actual fun set32LE(byteOffset: Int, value: Int)
actual fun set32LE(byteOffset: Int, value: Int)
actual fun set32LE(byteOffset: Int, value: Int)
Link copied to clipboard
inline fun Buffer.set64(byteOffset: Int, value: Long, littleEndian: Boolean = true)
Link copied to clipboard
expect fun set64BE(byteOffset: Int, value: Long)
actual fun set64BE(byteOffset: Int, value: Long)
actual fun set64BE(byteOffset: Int, value: Long)
actual fun set64BE(byteOffset: Int, value: Long)
Link copied to clipboard
expect fun set64LE(byteOffset: Int, value: Long)
actual fun set64LE(byteOffset: Int, value: Long)
actual fun set64LE(byteOffset: Int, value: Long)
actual fun set64LE(byteOffset: Int, value: Long)
Link copied to clipboard
expect fun set8(byteOffset: Int, value: Byte)
actual fun set8(byteOffset: Int, value: Byte)
actual fun set8(byteOffset: Int, value: Byte)
actual fun set8(byteOffset: Int, value: Byte)
Link copied to clipboard
fun Buffer.set8Clamped(byteOffset: Int, value: Int)
Link copied to clipboard
fun Buffer.setArray(byteOffset: Int, data: ByteArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArray(byteOffset: Int, data: DoubleArray, start: Int = 0, size: Int = data.size - start, littleEndian: Boolean = true)
fun Buffer.setArray(byteOffset: Int, data: FloatArray, start: Int = 0, size: Int = data.size - start, littleEndian: Boolean = true)
fun Buffer.setArray(byteOffset: Int, data: IntArray, start: Int = 0, size: Int = data.size - start, littleEndian: Boolean = true)
fun Buffer.setArray(byteOffset: Int, data: LongArray, start: Int = 0, size: Int = data.size - start, littleEndian: Boolean = true)
fun Buffer.setArray(byteOffset: Int, data: ShortArray, start: Int = 0, size: Int = data.size - start, littleEndian: Boolean = true)
Link copied to clipboard
fun Buffer.setArrayBE(byteOffset: Int, data: DoubleArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArrayBE(byteOffset: Int, data: FloatArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArrayBE(byteOffset: Int, data: IntArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArrayBE(byteOffset: Int, data: LongArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArrayBE(byteOffset: Int, data: ShortArray, start: Int = 0, size: Int = data.size - start)
Link copied to clipboard
fun Buffer.setArrayFloat32(index: Int, inp: FloatArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setArrayFloat64(index: Int, inp: DoubleArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setArrayInt16(index: Int, inp: ShortArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setArrayInt32(index: Int, inp: IntArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setArrayInt64(index: Int, inp: LongArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setArrayInt8(index: Int, inp: ByteArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setArrayLE(byteOffset: Int, data: DoubleArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArrayLE(byteOffset: Int, data: FloatArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArrayLE(byteOffset: Int, data: IntArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArrayLE(byteOffset: Int, data: LongArray, start: Int = 0, size: Int = data.size - start)
fun Buffer.setArrayLE(byteOffset: Int, data: ShortArray, start: Int = 0, size: Int = data.size - start)
Link copied to clipboard
fun Buffer.setArrayUInt16(index: Int, inp: UShortArrayInt, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setArrayUInt8(index: Int, inp: UByteArrayInt, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
inline fun Buffer.setF32(byteOffset: Int, value: Float, littleEndian: Boolean = true)
Link copied to clipboard
expect fun setF32BE(byteOffset: Int, value: Float)
actual fun setF32BE(byteOffset: Int, value: Float)
actual fun setF32BE(byteOffset: Int, value: Float)
actual fun setF32BE(byteOffset: Int, value: Float)
Link copied to clipboard
expect fun setF32LE(byteOffset: Int, value: Float)
actual fun setF32LE(byteOffset: Int, value: Float)
actual fun setF32LE(byteOffset: Int, value: Float)
actual fun setF32LE(byteOffset: Int, value: Float)
Link copied to clipboard
inline fun Buffer.setF64(byteOffset: Int, value: Double, littleEndian: Boolean = true)
Link copied to clipboard
expect fun setF64BE(byteOffset: Int, value: Double)
actual fun setF64BE(byteOffset: Int, value: Double)
actual fun setF64BE(byteOffset: Int, value: Double)
actual fun setF64BE(byteOffset: Int, value: Double)
Link copied to clipboard
expect fun setF64LE(byteOffset: Int, value: Double)
actual fun setF64LE(byteOffset: Int, value: Double)
actual fun setF64LE(byteOffset: Int, value: Double)
actual fun setF64LE(byteOffset: Int, value: Double)
Link copied to clipboard
fun Buffer.setFloat32(index: Int, value: Float)
Link copied to clipboard
fun Buffer.setFloat64(index: Int, value: Double)
Link copied to clipboard
fun Buffer.setInt16(index: Int, value: Short)
Link copied to clipboard
fun Buffer.setInt32(index: Int, value: Int)
Link copied to clipboard
fun Buffer.setInt64(index: Int, value: Long)
Link copied to clipboard
fun Buffer.setInt8(index: Int, value: Byte)
fun Buffer.setInt8(index: Int, value: Int)
Link copied to clipboard
fun Buffer.setUInt16(index: Int, value: Int)
Link copied to clipboard
fun Buffer.setUInt8(index: Int, value: Int)
Link copied to clipboard
fun Buffer.setUInt8Clamped(index: Int, value: Int)
Link copied to clipboard
fun Buffer.setUnalignedArrayFloat32(byteOffset: Int, inp: FloatArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setUnalignedArrayFloat64(byteOffset: Int, inp: DoubleArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setUnalignedArrayInt16(byteOffset: Int, inp: ShortArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setUnalignedArrayInt32(byteOffset: Int, inp: IntArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setUnalignedArrayInt64(byteOffset: Int, inp: LongArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setUnalignedArrayInt8(byteOffset: Int, inp: ByteArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun Buffer.setUnalignedFloat32(byteOffset: Int, value: Float)
Link copied to clipboard
fun Buffer.setUnalignedFloat64(byteOffset: Int, value: Double)
Link copied to clipboard
fun Buffer.setUnalignedInt16(byteOffset: Int, value: Short)
Link copied to clipboard
fun Buffer.setUnalignedInt32(byteOffset: Int, value: Int)
Link copied to clipboard
fun Buffer.setUnalignedInt64(byteOffset: Int, value: Long)
Link copied to clipboard
fun Buffer.setUnalignedInt8(byteOffset: Int, value: Byte)
fun Buffer.setUnalignedInt8(byteOffset: Int, value: Int)
Link copied to clipboard
fun Buffer.setUnalignedUInt16(byteOffset: Int, value: Int)
Link copied to clipboard
fun Buffer.setUnalignedUInt8(byteOffset: Int, value: Int)
Link copied to clipboard
fun Buffer.setUnalignedUInt8Clamped(byteOffset: Int, value: Int)
Link copied to clipboard
fun Buffer.sliceBuffer(start: Int = 0, end: Int = sizeInBytes): Buffer
Link copied to clipboard
fun slicedBuffer(roffset: Int = 0, rsize: Int = this.size - roffset): <Error class: unknown class>
Link copied to clipboard
fun sliceUint8Array(offset: Int = 0, size: Int = dataView.byteLength - offset): Uint8Array
Link copied to clipboard
fun Buffer.sliceWithSize(start: Int, size: Int): Buffer
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String
Link copied to clipboard
expect fun transferBytes(bufferOffset: Int, array: ByteArray, arrayOffset: Int, len: Int, toArray: Boolean)
actual fun transferBytes(bufferOffset: Int, array: ByteArray, arrayOffset: Int, len: Int, toArray: Boolean)
actual fun transferBytes(bufferOffset: Int, array: ByteArray, arrayOffset: Int, len: Int, toArray: Boolean)
actual fun transferBytes(bufferOffset: Int, array: ByteArray, arrayOffset: Int, len: Int, toArray: Boolean)