Function compressor [src]
Create Compressor which outputs compressed data to the writer.
Prototype
pub fn compressor(writer: anytype, options: Options) !Compressor(@TypeOf(writer))
Parameters
options: Options
Source
pub fn compressor(writer: anytype, options: Options) !Compressor(@TypeOf(writer)) {
return try deflate.compressor(.raw, writer, options);
}