Readbuffer.from constructor

Readbuffer.from(
  1. Readbuffer other
)

Creates a new Readbuffer by copying the given buffer and setting the new buffer position to 0.

Implementation

Readbuffer.from(Readbuffer other) : _bufferData = other._bufferData, _offset = other._offset, _bufferPosition = 0;