readShort method
Implementation
int readShort() {
assert(offset + Int16List.bytesPerElement <= byteLength);
final res = buf.getInt16(offset, Endian.little);
offset += Int16List.bytesPerElement;
return res;
}
int readShort() {
assert(offset + Int16List.bytesPerElement <= byteLength);
final res = buf.getInt16(offset, Endian.little);
offset += Int16List.bytesPerElement;
return res;
}