readUshorts static method

List<int> readUshorts(
  1. List<int> buff,
  2. int p,
  3. int len
)

Implementation

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;
}