totalEncodedByteLength property

int totalEncodedByteLength

The total length of this object in bytes - including its value bytes and the encoded tag and length bytes.

We need this if we are parsing a stream of bytes to know when the next object starts in the stream.

/

Implementation

int get totalEncodedByteLength => _valueStartPosition + _valueByteLength;