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_ulongnext_out: Option<&'io mut [u8]>total_out: c_ulongadler: 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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.