Skip to main content

decode_anum

Function decode_anum 

Source
pub fn decode_anum(s: &str) -> Result<Node, String>
Expand description

Decode an anum-encoded string into a Node. Strictly enforces the [tag payload] shape; any character outside the four-abit alphabet raises an error. Returns the decoded Node; errors if trailing content remains after the top-level frame.