Function ilc_ops::convert::convert
[−]
[src]
pub fn convert(
ctx: &Context,
input: &mut BufRead,
decoder: &mut Decode,
output: &mut Write,
encoder: &Encode
) -> Result<()>
Convert from one format to another, not necessarily different, format. In combination with a
timezone offset, this can be used to correct the timestamps.
Will return Err
and abort conversion if the decoder yields Err
or re-encoding fails.