BinaryReader constructor

BinaryReader(
  1. dynamic buffer, [
  2. dynamic littleEndian
])

Implementation

BinaryReader(buffer, [littleEndian]) {
  dv = buffer;
  offset = 0;
  this.littleEndian = (littleEndian != null) ? littleEndian : true;
}