InputBuffer.from constructor
InputBuffer.from(
- InputBuffer other, {
- int offset = 0,
- int? length,
Create a copy of other
.
Implementation
InputBuffer.from(InputBuffer other, {int offset = 0, int? length})
: buffer = other.buffer,
offset = other.offset + offset,
start = other.start,
end = (length == null) ? other.end : other.offset + offset + length,
bigEndian = other.bigEndian;