struct store [src]
Members
- compress (Function)
- compressor (Function)
- Compressor (Type Function)
Source
pub const store = struct {
pub fn compress(reader: anytype, writer: anytype) !void {
try deflate.store.compress(.zlib, reader, writer);
}
pub fn Compressor(comptime WriterType: type) type {
return deflate.store.Compressor(.zlib, WriterType);
}
pub fn compressor(writer: anytype) !store.Compressor(@TypeOf(writer)) {
return deflate.store.compressor(.zlib, writer);
}
}