getBytes method
Get the number of bytes specified.
Implementation
typed.Uint8Buffer getBytes(int count) {
final tmp = _data.sublist(_offset, _offset + count);
final buff = typed.Uint8Buffer();
buff.addAll(tmp);
_offset += count;
return buff;
}