pub fn deencode(
input: &str,
engines: &[&dyn Engine],
encoding_depth: usize,
) -> DeencodeTreeExpand description
Build a DeencodeTree by successively running encodings and decodings
through the engines.
Alias of DeencodeTree::deencode().
encoding_depth specifies the number of encoding steps, which are always
followed by a decoding step, so the actual depth of the generated tree is
2 * encoding_depth.
The process starts with encoding, so you may not have depth == 0. (see
EncodeNode::make_nodes()’s
documentation)
The order of the engines matters for DeencodeTree::deduplicate().