pub fn compress_if_requested(
content: EncodedContent,
algorithm: Option<Compression>,
) -> Result<EncodedContent, CodecError>Expand description
Leaves content unchanged when the caller does not request compression.
pub fn compress_if_requested(
content: EncodedContent,
algorithm: Option<Compression>,
) -> Result<EncodedContent, CodecError>Leaves content unchanged when the caller does not request compression.