size method

  1. @pragma('vm:prefer-inline')
int size()

Calculate the finished buffer size (aligned).

Implementation

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