Update ZstdDeflatingWriteBuffer.h

This commit is contained in:
alexey-milovidov 2020-11-23 07:13:02 +03:00 committed by GitHub
parent d47cf8c919
commit 945aa009ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,8 @@
namespace DB
{
/// Performs compression using zlib library and writes compressed data to out_ WriteBuffer.
/// Performs compression using zstd library and writes compressed data to out_ WriteBuffer.
class ZstdDeflatingWriteBuffer : public BufferWithOwnMemory<WriteBuffer>
{
public:
@ -19,7 +20,7 @@ public:
char * existing_memory = nullptr,
size_t alignment = 0);
/// Flush all pending data and write zlib footer to the underlying buffer.
/// Flush all pending data and write footer to the underlying buffer.
/// After the first call to this function, subsequent calls will have no effect and
/// an attempt to write to this buffer will result in exception.
void finish();