getInt32 method Null safety

int getInt32(
  1. {Endian? endian}
)

Reads an Int32 from the buffer.

Implementation

int getInt32({Endian? endian}) {
  final int value = data.getInt32(_position, endian ?? Endian.host);
  _position += 4;
  return value;
}