flush method

Future flush()

Implementation

Future flush() async {
  _contentLength += _buf.length;
  _stream.add(_buf.takeBytes());
}