Skip to content

Deal with RawBytes ambiguity #1502

Open
@Stebalien

Description

@Stebalien

RawBytes was intended for "cbor-serialized" data but we use it for other byte vectors because it's convenient. We should either:

  1. Update the documentation to reflect that RawBytes has no opinions on the serialization of the data.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions