decode

open fun decode(in: ByteBuffer): String

Decodes bytes from in into out until a delimiter 0x00 is encountered. Returns a new string containing the decoded characters.