Struct oxipng::deflate::stream::Stream [] [src]

pub struct Stream<D: Direction> {
    // some fields omitted
}

Methods

impl Stream<Compress>

fn new_compress(lvl: c_int, window_bits: c_int, mem_size: c_int, strategy: c_int) -> Stream<Compress>

fn new_decompress() -> Stream<Decompress>

impl<T: Direction> Stream<T>

fn total_in(&self) -> usize

fn total_out(&self) -> usize

impl Stream<Decompress>

fn decompress_vec(&mut self, input: &mut [u8], output: &mut Vec<u8>) -> c_int

impl Stream<Compress>

fn compress_vec(&mut self, input: &mut [u8], output: &mut Vec<u8>) -> c_int

fn reset(&mut self) -> c_int

Trait Implementations

impl<D: Direction> Drop for Stream<D>

fn drop(&mut self)