fn decompressor(allocator: Allocator, reader: anytype, dictionary: ?[]const u8) !Decompressor(@TypeOf(reader))

Returns a new Decompressor that can be used to read the uncompressed version of reader. dictionary is optional and initializes the Decompressor with a preset dictionary. The returned Decompressor behaves as if the uncompressed data stream started with the given dictionary, which has already been read. Use the same dictionary as the compressor used to compress the data. This decompressor may use at most 300 KiB of heap memory from the provided allocator. The uncompressed data will be written into the provided buffer, see reader() and read().

Parameters

allocator: Allocator,
reader: anytype,
dictionary: ?[]const u8,