fun ByteBuffer.copy(size: Int = remaining()): ByteBuffer
Moves all bytes in fun ByteBuffer.copy(pool: ObjectPool<ByteBuffer>, size: Int = remaining()): ByteBuffer
Moves all bytes in |
|
fun ByteBuffer.decodeString(charset: Charset = Charsets.UTF_8): String
Decodes a string from |
|
fun ByteBuffer.moveTo(destination: ByteBuffer, limit: Int = Int.MAX_VALUE): Int
Moves bytes from |
|
fun ByteBuffer.moveToByteArray(): ByteArray
Moves bytes from |