Add new streams and serialization wrappers for TLV types.
authorMatt Corallo <git@bluematt.me>
Mon, 3 Feb 2020 01:42:40 +0000 (20:42 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 3 Feb 2020 01:42:57 +0000 (20:42 -0500)
commit6a189591eb69366c4ff6c816b8b1180dd5666278
treed4a25492dfc8c5be6cecb2ad586927eda9d8cc0b
parent8a4939173155c984eb6bdc32285567efb222cf02
Add new streams and serialization wrappers for TLV types.

This adds a number of new stream adapters to track and/or calculate
the number of bytes read/written to an underlying stream, as well
as wrappers for the two (?!) variable-length integer types that TLV
introduces.
lightning/src/util/ser.rs