Int8Buffer

value class Int8Buffer(val buffer: Buffer) : TypedBuffer

Constructors

Link copied to clipboard
constructor(size: Int, direct: Boolean = false)
constructor(data: ByteArray, offset: Int = 0, size: Int = data.size - offset)
constructor(buffer: Buffer)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val buffer: Buffer
Link copied to clipboard
open override val elementSizeInBytes: Int
Link copied to clipboard
open override val size: Int

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
operator fun get(index: Int): Byte
Link copied to clipboard
fun getArray(index: Int = 0, size: Int = this.size - index): ByteArray
fun getArray(index: Int, out: ByteArray, offset: Int = 0, size: Int = out.size - offset): ByteArray
Link copied to clipboard
operator fun set(index: Int, value: Byte)
Link copied to clipboard
fun setArray(index: Int, inp: ByteArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun slice(start: Int = 0, end: Int = this.size): Int8Buffer
Link copied to clipboard
fun sliceWithSize(start: Int = 0, size: Int = this.size - start): Int8Buffer