size property

int size

Get the size of the bytes in this packet. This only works if the packet is not a stream.

Implementation

int get size{
  assert(_isStream != null && !_isStream);
  return _bytes.length;
}