getInt32 method
Reads a 32-bit signed integer at the specified position without changing
the current write position.
endian specifies byte order (defaults to big-endian).
Throws RangeError if position is negative or if position + 4
exceeds the buffer capacity.
Implementation
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
int getInt32(int position, [Endian endian = Endian.big]) =>
_ws.data.getInt32(position, endian);