Skip to content

StreamingDecoder: DEC: BorrowMut<FrameDecoder> isn't very useful #74

@nodakai

Description

@nodakai

Currently, DEC must return a concrete instance of FrameDecoder for performing the actual decoding process. I couldn't customize its behavior to include functionality such as tracking the number of decoded bytes.

It would be helpful if FrameDecoder implemented a trait that wraps its .read() method. This way, DEC could be bound to that trait, allowing for more flexible and customizable behavior during decoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions