Function cpio_archive::reader

source ·
pub fn reader<T: 'static + Read + Sized>(
    reader: T
) -> CpioResult<Box<ChainedCpioReader<T>>>
Expand description

Construct a new cpio archive reader.

This will sniff the type of the cpio archive and return an appropriate instance.