Uint8Buffer

Constructors

Link copied to clipboard
constructor(size: Int, direct: Boolean = false)
constructor(data: UByteArrayInt, 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
open operator override fun get(index: Int): Int
Link copied to clipboard
fun getArray(index: Int = 0, size: Int = this.size - index): UByteArrayInt
fun getArray(index: Int, out: UByteArrayInt, offset: Int = 0, size: Int = out.size - offset): UByteArrayInt
Link copied to clipboard
open operator override fun set(index: Int, value: Int)
Link copied to clipboard
fun setArray(index: Int, inp: UByteArrayInt, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun slice(start: Int = 0, end: Int = this.size): Uint8Buffer
Link copied to clipboard
fun sliceWithSize(start: Int = 0, size: Int = this.size - start): Uint8Buffer
Link copied to clipboard