Function dd_lib::io::copy::unblock

source ·
pub fn unblock<R, W, C, E>(
    r: R,
    w: &mut W,
    c: C,
    err: &mut Option<E>,
    block_size: usize
) -> Result<Success>where
    R: BufRead,
    W: Write,
    C: ConvertSlice<u8>,
    E: Write,
Expand description

Treats the input as a sequence of fixed length records independent of input and output block boundaries. The length of the input records is specified by the cbs op- erand. Any trailing space characters are discarded and a newline character is appended.