Skip to content

Let byte_streams use a more correct element type: uint8_t #1278

Description

@jputcu

For some time I've been using my fifo type to encode/decode communication data. Recently I noticed there is a byte_stream_reader/writer which actually could replace this: less reinventing the wheel, more unit tests,...
However, unlike the default raw buffer type: uint8_t (or etl:byte) this uses char as its underlying type which I noticed when trying to construct it with a span<const uint8_t>.
Currently I'm using the data + size constructors but this feels like a bit unlucky.

Would it be sensible to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions