void (final byte[] buf, int start, int end) { if (end <= start) return; ByteBuffer byteBuffer = ByteBuffer.wrap(buf, start, end-start); CharBuffer charBuffer = myBaseCharset.decode(byteBuffer); myOutBuffer.append(charBuffer); }