ByteBuffer

abstract class ByteBuffer : Buffer
typealias ByteBuffer = ByteBuffer

Functions

capacity
Link copied to clipboard
common
fun capacity(): Int
clear
Link copied to clipboard
common
fun clear(): Buffer
flip
Link copied to clipboard
common
fun flip(): Buffer
get
Link copied to clipboard
common
abstract fun get(): Byte
abstract fun get(index: Int): Byte
hasRemaining
Link copied to clipboard
common
fun hasRemaining(): Boolean
limit
Link copied to clipboard
common
fun limit(): Int
fun limit(limit: Int): Buffer
position
Link copied to clipboard
common
fun position(): Int
fun position(position: Int): Buffer
put
Link copied to clipboard
common
abstract fun put(value: Byte): ByteBuffer
fun put(values: ByteArray): ByteBuffer
remaining
Link copied to clipboard
common
fun remaining(): Int
rewind
Link copied to clipboard
common
fun rewind(): Buffer