static String readUnicode(List<int> buff, int p, int l) { String s = ""; for (int i = 0; i < l; i++) { int c = (buff[p++] << 8) | buff[p++]; s += String.fromCharCode(c); } return s; }