pub fn encode_layered(
payload: impl AsRef<[u8]>,
strategies: &[Strategy],
) -> Result<String, EncodeError>Expand description
Apply multiple encoding strategies in sequence (layered encoding).
ยงErrors
Returns EncodeError::PayloadTooLarge if the input exceeds super::strategy::MAX_PAYLOAD_SIZE.
Returns EncodeError::LayeredOutputTooLarge if any intermediate output
exceeds MAX_LAYERED_OUTPUT_SIZE.