Skip to main content

transcode

Function transcode 

Source
pub fn transcode(
    bytes: &Bytes,
    source: &ValueCodec,
    target: &ValueCodec,
) -> Result<Bytes, Error>
Expand description

Validate and transcode a document, even when both profiles are the same. Raw byte forwarding is deliberately a different operation.