public int decodeFromCharset(byte[] in, int off, int len, char[] out){ for (int i = off; i< off+len; i++) out[i] = byteToChar[(int) in[i] & 0xFF]; return len; }
public String decodeFromCharset(byte[] in){ if (bufferC.length < in.length) bufferC = new char[in.length]; int length = decodeFromCharset(in, 0, in.length, bufferC); return new String(bufferC, 0, length); }
        public int decodeFromCharset(byte[] in, int off, int len, char[] out){            for (int i = off; i< off+len; i++)               out[i] = byteToChar[(int) in[i] & 0xFF];            return len;        }