Expand description
Modules§
Structs§
- BigSize
- Lightning TLV uses a custom variable-length integer called
BigSize
. It is similar to Bitcoin’s variable-length integers except that it is serialized in big-endian instead of little-endian. - Count
Write - A writer counting number of writes written to it
- Decode
Error - Simple
Bitcoin Read
Enums§
- DynRaw
Fallback - A type that decodes
module_instance_id
-prefixedT
s even when correspondingDecoder
is not available.
Constants§
- MAX_
DECODE_ SIZE - Maximum size, in bytes, of data we are allowed to ever decode for a single value.
Traits§
- Decodable
- Data which can be encoded in a consensus-consistent way
- DynEncodable
- Object-safe trait for things that can encode themselves
- Encodable
- Data which can be encoded in a consensus-consistent way
Functions§
- consensus_
decode_ bytes - Specialized version of Decodable for bytes
- consensus_
decode_ bytes_ from_ finite_ reader - Specialized version of Decodable for bytes
- consensus_
decode_ bytes_ static - Specialized version of Decodable for fixed-size byte arrays
- consensus_
decode_ bytes_ static_ from_ finite_ reader - Specialized version of Decodable for fixed-size byte arrays
- consensus_
encode_ bytes - Specialized version of Encodable for bytes
- consensus_
encode_ bytes_ static - Specialized version of Encodable for static byte arrays