unpackUint16 method
Implementation
int unpackUint16() {
var bytes = read(2);
int uint16 = (bytes[0] & 0xff) * 256 + (bytes[1] & 0xff);
index += 2;
return uint16;
}
int unpackUint16() {
var bytes = read(2);
int uint16 = (bytes[0] & 0xff) * 256 + (bytes[1] & 0xff);
index += 2;
return uint16;
}