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