ByteRingBuffer

open class ByteRingBuffer(val bits: Int)

Inheritors

Constructors

Link copied to clipboard
constructor(bits: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val bits: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun internalReadSkip(count: Int)
Link copied to clipboard
Link copied to clipboard
fun peek(offset: Int = 0): Byte
fun peek(data: ByteArray, offset: Int = 0, size: Int = data.size - offset): Int
Link copied to clipboard
fun read(data: ByteArray, offset: Int = 0, size: Int = data.size - offset): Int
Link copied to clipboard
fun readByte(): Int
Link copied to clipboard
fun readBytes(count: Int): ByteArray
Link copied to clipboard
fun skip(size: Int): Int
Link copied to clipboard
fun write(consume: ByteRingBuffer)
fun write(data: ByteArray, offset: Int = 0, size: Int = data.size - offset): Int
Link copied to clipboard
Link copied to clipboard
fun writeHead(data: ByteArray, offset: Int = 0, size: Int = data.size - offset): Int