streamDeflate
Function parameters
Parameters
- r:*Reader
- w:*Writer
- limit:std.io.Limit
Type definitions in this namespace
Types
Extract the zipped files to the given `dest` directory.
Functions
- extract
- Extract the zipped files to the given `dest` directory.
= [4]u8{ 'P', 'K', 1, 2 }
Values
- central_file_header_sig
- = [4]u8{ 'P', 'K', 1, 2 }
- local_file_header_sig
- = [4]u8{ 'P', 'K', 3, 4 }
- end_record_sig
- = [4]u8{ 'P', 'K', 5, 6 }
- end_record64_sig
- = [4]u8{ 'P', 'K', 6, 6 }
- end_locator64_sig
- = [4]u8{ 'P', 'K', 6, 7 }
Source
Implementation
fn streamDeflate(r: *Reader, w: *Writer, limit: std.io.Limit) Reader.StreamError!usize {
const d: *Decompress = @fieldParentPtr("interface", r);
return flate.Decompress.read(&d.inflate, w, limit);
}