tiny.deflate.Result
Defined in tiny.deflate.
The two byte counts of one successful decompress call, for a caller to read after a success and learn how much of each buffer the frame used.
API (2)
Fields and members
Public fields and members.
Source
Source: lib/deflate/src/model.zig:42
zig
/// The two byte counts of one successful `decompress` call, for a caller to read after a success/// and learn how much of each buffer the frame used.pub const Result = struct { /// The number of input bytes the frame used, from its first header byte through its last /// trailer byte. For a raw stream the field counts the byte that holds the last bits of the /// stream. The count equals `input.len` after any success with exact input on, the option that /// fails a call when input bytes remain unused. consumed: usize, /// The number of expanded bytes at the front of `output`. The count equals `output.len` after /// any success with exact output on, the option that requires the expanded data to fill the /// output buffer. written: usize,};Source: lib/deflate/src/root.zig:52
zig
pub const Result = model.Result;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 2 |
| Version | 26.7.0 |
| Revision | daab053ee433 |