size method

int size()

Returns the current size of the buffer (number of bytes written).

Implementation

int size() => _count;