static List<int> readUshorts(List<int> buff, int p, int len) { final List<int> arr = []; for (int i = 0; i < len; i++){ arr.add(readUshort(buff, p + i * 2)); } return arr; }