try {
return new String(fieldBuffer, 0, fieldLength, encoding);
}
catch (UnsupportedEncodingException ex) {
UnsupportedCharsetException nex = new UnsupportedCharsetException(encoding);
nex.initCause(ex);
throw nex;
}
}
protected String decode(byte[] bytes) {