Open
Description
RawBytes
was intended for "cbor-serialized" data but we use it for other byte vectors because it's convenient. We should either:
- Update the documentation to reflect that
RawBytes
has no opinions on the serialization of the data. - Introduce a better type for "byte vec". We already have one
BytesDe
, but the name isn't great and we don't use it frequently.