decode

fun decode(source: ByteBuffer, length: Int): String

Decode a string with known length from a bytebuffer


fun decode(source: ByteBuffer): String

Decode the full bytebuffer as string