Expand description
Top-level decoder per spec §13.2.
Structs§
- Decode
Opts - Options controlling decode-time validation strictness (P0 pathless/ dead-card partial-decode).
Functions§
- decode_
md1_ string - Decode a Descriptor from a complete codex32 md1 string.
- decode_
md1_ string_ with_ opts - Decode a Descriptor from a complete codex32 md1 string, honoring
opts(P0 partial-decode; seeDecodeOpts). Routes chunk-form strings throughcrate::chunk::reassemble_with_optsand single-payload strings throughdecode_payload_with_opts, sooptsreaches whichever layer actually performs the origin check. - decode_
payload - Decode a Descriptor from the canonical payload bit stream (strict:
byte-identical to pre-P0 behavior). Delegates to
decode_payload_with_optswith the default (strict) options.bytesmay be zero-padded;total_bitsis the exact payload bit count. - decode_
payload_ with_ opts - Decode a Descriptor from the canonical payload bit stream, honoring
opts(P0 partial-decode; seeDecodeOptsfor the contract).bytesmay be zero-padded;total_bitsis the exact payload bit count.