static List<int> readBytes(List<int> buff, int p, int l) { final List<int> arr = []; for (int i = 0; i < l; i++) arr.add(buff[p + i]); return arr; }