Add wrapping of ByteBuffer into CharBuffer