Struct miniz_oxide_c_api::lib_oxide::StreamOxide [−][src]
pub struct StreamOxide<'io, ST: StateType> {
pub next_in: Option<&'io [u8]>,
pub total_in: c_ulong,
pub next_out: Option<&'io mut [u8]>,
pub total_out: c_ulong,
pub adler: u32,
// some fields omitted
}
Fields
next_in: Option<&'io [u8]>
total_in: c_ulong
next_out: Option<&'io mut [u8]>
total_out: c_ulong
adler: u32
Implementations
Create a new StreamOxide wrapper from a mz_stream object. Custom allocation functions are not supported, supplying an mz_stream with allocation function will cause creation to fail.
Unsafe as the mz_stream object is not guaranteed to be valid. It is up to the caller to ensure it is.
Try to create a new StreamOxide wrapper from a mz_stream object. Custom allocation functions are not supported, supplying an mz_stream with allocation functions will cause creation to fail.
Unsafe as the mz_stream object is not guaranteed to be valid. It is up to the caller to ensure it is.
Trait Implementations
Returns the “default value” for a type. Read more