Function git_features::zlib::stream::inflate::read[][src]

pub fn read(
    rd: &mut impl BufRead,
    state: &mut Decompress,
    dst: &mut [u8]
) -> Result<usize>
Expand description

Read bytes from rd and decompress them using state into a pre-allocated fitting buffer dst, returning the amount of bytes written.