Function unblock

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

Copy a series of fixed-length records from R to W, converting according to C. opts::Mode::Unblock 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 conversion_block_size option option. Any trailing space characters are discarded and a newline character is appended.