Allow using user-supplied buffer for encoding data? #72
Labels
area/codec
Related to a new or existing ASN.1 codec.
good first issue
Good for newcomers
help wanted
Extra attention is needed
kind/enhancement
New feature or request
Hi, I'm working on building a SNMP client and as an optimization to prevent allocating memory on every send/receive, I want to internally store a
Vec
in my client, however there doesn't appear to be a way to provide theEncoder
a&mut Vec<u8>
or&mut [u8]
to encode into, which would be really useful!The text was updated successfully, but these errors were encountered: