Module simplicity::decode
source · Expand description
§Decoding
Functionality to decode Simplicity programs.
Refer to crate::encode for information on the encoding.
Enums§
- Decoding error
Functions§
- Decode a natural number from bits. If a bound is specified, then the decoding terminates before trying to decode a larger number.
- Decode a value from bits, of the form 2^exp