BytesUint8ListIO.from constructor

BytesUint8ListIO.from(
  1. Uint8List bytes, {
  2. int offset = 0,
  3. int? length,
  4. int? bufferLength,
  5. bool copyBuffer = false,
})

Implementation

BytesUint8ListIO.from(Uint8List bytes,
    {int offset = 0, int? length, int? bufferLength, bool copyBuffer = false})
    : _bytes = _fromUint8List(bytes, offset, length) {
  _length = bufferLength ?? _bytes.length;
  bytesData = ByteDataIntCodec(_bytes.asByteData());
}