length property

int get length

Bytes that will be produced, including header and trailer.

Implementation

int get length => _pos + (checksum ? 4 : 0);