Make `write_u16_len_prefixed_data` generic over the type of output
authorMatt Corallo <git@bluematt.me>
Wed, 21 Feb 2024 07:14:20 +0000 (07:14 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 3 Apr 2024 09:15:18 +0000 (09:15 +0000)
commit7f6b9eb2482dff65e7571b131e12dc75e833eb8c
treeb3af583853adc91818186bf5cfadc6f7b7613ff4
parentf4ab80e34be23afe65eb391188ea2be16d14db28
Make `write_u16_len_prefixed_data` generic over the type of output

In the next commit this will be used to write RRs directly into
hashers when validating signatures, rather than serializing them
into `Vec`s then hashing.
src/rr.rs