Trait that allows zero-copy write of value-references to slices in LE format.
Implementations should override
using_encoded for value types and
size_hint for allocating types.
Wrapper types should override all methods.
If possible give a hint of expected size of the encoding.
This method is used inside default implementation of
to avoid re-allocations.
Convert self to a slice and append it to the destination.
Convert self to an owned vector.
Convert self to a slice and then invoke the given closure with it.