lib/zlib/GzipOutputStream: add exception API docs

This commit is contained in:
Max Kellermann 2022-07-04 10:05:11 +02:00
parent 171b31ae67
commit 2c092d2613

View File

@ -48,6 +48,8 @@ class GzipOutputStream final : public OutputStream {
public:
/**
* Construct the filter.
*
* Throws #ZlibError on error.
*/
explicit GzipOutputStream(OutputStream &_next);
~GzipOutputStream();
@ -55,6 +57,8 @@ public:
/**
* Finish the file and write all data remaining in zlib's
* output buffer.
*
* Throws on error.
*/
void Finish();