getInt method
Get an int, 32 bits.
Implementation
int getInt() {
final value = (_data[_offset] << 24) |
(_data[_offset + 1] << 16) |
(_data[_offset + 2] << 8) |
(_data[_offset + 3]);
_offset += 4;
return value;
}
Get an int, 32 bits.
int getInt() {
final value = (_data[_offset] << 24) |
(_data[_offset + 1] << 16) |
(_data[_offset + 2] << 8) |
(_data[_offset + 3]);
_offset += 4;
return value;
}