BinaryReader constructor

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

Implementation

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