Skip to main content

decode_md1_string_with_opts

Function decode_md1_string_with_opts 

Source
pub fn decode_md1_string_with_opts(
    s: &str,
    opts: DecodeOpts,
) -> Result<Descriptor, Error>
Expand description

Decode a Descriptor from a complete codex32 md1 string, honoring opts (P0 partial-decode; see DecodeOpts). Routes chunk-form strings through crate::chunk::reassemble_with_opts and single-payload strings through decode_payload_with_opts, so opts reaches whichever layer actually performs the origin check.