readUsedBytes property

int get readUsedBytes

How many bytes of the slot from the last beginRead are real.

Implementation

int get readUsedBytes {
  assert(_readSlot >= 0, 'readUsedBytes before a successful beginRead()');
  return _control[_usedWord + _readSlot];
}