close method

Future<void> close()

Implementation

Future<void> close() async {
  try {
    _encoder.finish();
  } finally {
    await _output.close();
  }
}