Expand description
A very simple serialization framework which is used to serialize/deserialize messages as well as ChannelsManagers and ChannelMonitors.
Structs
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.
Constants
serialization buffer size
Traits
A trait that various rust-lightning types implement allowing them to (maybe) be read in from a Read
A trait that various rust-lightning types implement allowing them to be read in from a Read
A trait that various higher-level rust-lightning types implement allowing them to be read in from a Read given some additional set of arguments which is required to deserialize.
A trait that various rust-lightning types implement allowing them to be written out to a Writer
A simplified version of std::io::Write that exists largely for backwards compatibility. An impl is provided for any type that also impls std::io::Write.