BytesBuffer.from constructor

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

Implementation

BytesBuffer.from(Uint8List bytes,
    {int offset = 0, int? length, int? bufferLength, bool copyBuffer = false})
    : bytesIO = BytesUint8ListIO.from(bytes,
          offset: offset,
          length: length,
          bufferLength: bufferLength,
          copyBuffer: copyBuffer);