get method
Gets bytes from the buffer into the destination array
Implementation
ByteBuffer get(Uint8List dst) {
if (_pos + dst.length > _buf.length) {
throw RangeError('Buffer underflow');
}
for (int i = 0; i < dst.length; i++) {
dst[i] = _buf[_pos++];
}
return this;
}