LeviLamina
Loading...
Searching...
No Matches
utils::compress_utils::Decompressor Class Reference

#include <CompressUtils.h>

Public Member Functions

LLAPI Decompressor (SinkFn sink, CompressFormat format=CompressFormat::Gzip)
LLAPI Decompressor (Decompressor &&) noexcept
LLAPI Decompressor & operator= (Decompressor &&) noexcept
LLNDAPI Expected status () const
LLAPI Expected write (std::string_view data)
LLAPI Expected finish ()
 Confirms the stream ended cleanly. Fails on a truncated or trailing-garbage input.

Detailed Description

Decompresses a byte stream incrementally, mirroring Compressor.

Note
finish verifies the stream actually ended, which is what catches a truncated input.

The documentation for this class was generated from the following file: