encodeChar

fun encodeChar(data: Char?): ByteBuffer

Encode a single char into a bytebuffer