size method

int size()

Calculate the finished buffer size (aligned).

Implementation

@pragma('vm:prefer-inline')
int size() => _tail + ((-_tail) & (_maxAlign - 1));