class OneShot

Defined at line 24 of file ../../src/lib/zbitl/include/lib/zbitl/decompress.h

Public Methods

size_t GetScratchSize ()

This is public only for test use.

Defined at line 19 of file ../../src/lib/zbitl/zstd.cc

template <typename Allocator>
fit::result<std::string_view> Decompress (std::span<std::byte> out, ByteView payload, Allocator && allocator)

Called (once) with the whole payload and returns success only if exactly

the whole output buffer was filled.

Defined at line 32 of file ../../src/lib/zbitl/include/lib/zbitl/decompress.h

template <typename Allocator>
fit::result<std::string_view> Decompress (std::span<std::byte> out, ByteView payload, Allocator && allocator)

Called (once) with the whole payload and returns success only if exactly

the whole output buffer was filled.

Defined at line 32 of file ../../src/lib/zbitl/include/lib/zbitl/decompress.h

template <typename Allocator>
fit::result<std::string_view> Decompress (std::span<std::byte> out, ByteView payload, Allocator && allocator)

Called (once) with the whole payload and returns success only if exactly

the whole output buffer was filled.

Defined at line 32 of file ../../src/lib/zbitl/include/lib/zbitl/decompress.h

template <typename Allocator>
fit::result<std::string_view> Decompress (std::span<std::byte> out, ByteView payload, Allocator && allocator)

Called (once) with the whole payload and returns success only if exactly

the whole output buffer was filled.

Defined at line 32 of file ../../src/lib/zbitl/include/lib/zbitl/decompress.h