We need CommandEncodeBuffer to be Equatable, but might as well make it Hashable. This required adding a few Hashable conformances downstream, and changing promoting existing Equatable conformance to Hashable.
Resolves#556
We've talked quite a bit offline, and decided that for now @_spi is the way to go, as it avoids build system issues. The goal is to remove the number of underscored public types and fields.
Motivation:
CATENATE functionality is convenient for low-power client usage, as it
allows clients to stitch together new messages out of the parts of older
ones without needing to reupload (or indeed redownload) that content.
Modifications:
- Extend CommandStream to support CATENATE.
- Extend serializer and parser to work with new definitions.
Result:
CATENATE is parseable.
* Use encoding options specific to the transport direction.
* Add description to precondition failure.
* Make properties on EncodingOptions public.
* Rename files.
* Change APPEND to use CommandEncodingOptions.