Add new _init_and_read_tlv_stream ser macro
authorValentine Wallace <vwallace@protonmail.com>
Fri, 23 Jun 2023 18:55:43 +0000 (14:55 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 23 Aug 2023 15:24:54 +0000 (11:24 -0400)
commitcf64e3fba52d7b7f6abce352948d78b97bcb9700
tree8dfb9c5a8e885e775d822c3737e88edf22ab1ffe
parent4a30d9e78a37b20b1d39e009ee3902649b21f65a
Add new _init_and_read_tlv_stream ser macro

Useful for when you want to use _init_and_read_len_prefixed_tlv_fields but there is no
length byte at the start of the TLV stream.
lightning/src/onion_message/packet.rs
lightning/src/util/ser_macros.rs