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>
Tue, 11 Feb 2020 18:48:56 +0000 (13:48 -0500)
commit66c4ed2d68ff90f43f98249ca8d356820d3a35d6
treece1370be9a3d7c194fc4aecff99ab5576c954f93
parentf990aacccbaa58b9cbefad5b002ccec291552d68
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