Package dev.kord.voice.io

Types

Link copied to clipboard
class ByteArrayView : Iterable<Byte>

A lightweight read-only view of a ByteArray.

Link copied to clipboard
class MutableByteArrayCursor(data: ByteArray)

A light-weight mutable cursor for a ByteArray.

Link copied to clipboard
class ReadableByteArrayCursor(val view: ByteArrayView)

A lightweight read-only cursor for a ByteArrayView.

Functions

Link copied to clipboard
fun ByteArrayView.mutableCursor(): MutableByteArrayCursor
fun ByteArray.mutableCursor(): MutableByteArrayCursor
Link copied to clipboard
fun ByteArrayView.readableCursor(): ReadableByteArrayCursor
fun ByteArray.readableCursor(): ReadableByteArrayCursor
Link copied to clipboard
fun ByteArray.view(): ByteArrayView
fun ByteArray.view(start: Int, end: Int): ByteArrayView?
Link copied to clipboard
fun MutableByteArrayCursor.writeByteArrayOrResize(data: ByteArray)
Link copied to clipboard
fun MutableByteArrayCursor.writeByteViewOrResize(view: ByteArrayView)