Module decode

Source
Expand description

§Decoding

Functionality to decode Simplicity programs. Refer to crate::encode for information on the encoding.

Enums§

Error
Decoding error

Functions§

decode_expression
decode_natural
Decode a natural number from bits. If a bound is specified, then the decoding terminates before trying to decode a larger number.