int16s method Null safety

List<int> int16s(
  1. int length
)

Implementation

List<int> int16s(int length) {
  final ret = _byteData.buffer.asInt16List(_readPos, length).toList();
  _readPos += length * 2;
  return ret;
}