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.
pub fn reader<T: 'static + Read + Sized>(
reader: T,
) -> CpioResult<Box<ChainedCpioReader<T>>>
Construct a new cpio archive reader.
This will sniff the type of the cpio archive and return an appropriate instance.