Skip to content

Provide a Reader::from_read interface #10

@RoloEdits

Description

@RoloEdits

As far as I can see, the only API for getting a Reader is using from_str and new, both of which take a &str.

Having something like:

Reader::from_read<R: Read>(read: R)

would make it simple to pass in a File, for example, without glue code to get a &str or bytes, and passing it to the current interface.

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