memcpy method
Copy data from other
to this buffer, at start
offset from the
current read position, and length
number of bytes. offset
is
the offset in other
to start reading.
Implementation
void memcpy(int start, int length, dynamic other, [int offset = 0]) {
if (other is InputBuffer) {
buffer.setRange(this.offset + start, this.offset + start + length,
other.buffer, other.offset + offset);
} else {
buffer.setRange(this.offset + start, this.offset + start + length,
other as List<int>, offset);
}
}