readInt16 method
Implementation
int readInt16() {
ByteData? data = read(2);
if(data == null){
throw 'no more data';
}
return data.getInt16(0, Endian.little);
}
int readInt16() {
ByteData? data = read(2);
if(data == null){
throw 'no more data';
}
return data.getInt16(0, Endian.little);
}