@Override
protected StringBuilder decodeImpl(Env env, StringValue str)
{
ByteBuffer in = ByteBuffer.wrap(str.toBytes());
TempCharBuffer tempBuf = TempCharBuffer.allocate();
try {
CharBuffer out = CharBuffer.wrap(tempBuf.getBuffer());
StringBuilder sb = new StringBuilder();
while (in.hasRemaining()) {
CoderResult coder = _decoder.decode(in, out, false);