InputBuffer constructor

InputBuffer(
  1. List<int> buffer, {
  2. bool bigEndian = false,
  3. int offset = 0,
  4. int? length,
})

Create a InputStream for reading from a List

Implementation

InputBuffer(this.buffer,
    {this.bigEndian = false, this.offset = 0, int? length})
    : start = offset,
      end = (length == null) ? buffer.length : offset + length;