Skip to content

feat(bytesbuf): Improve ergonomics of BytesView::as_reader() #268

@sandersaares

Description

@sandersaares
  • Return a named type so it can be more easily stored in fields.
  • Implement BufRead. We cannot use std::io::BufReader because it needlessly allocates an intermediate buffer. BytesView is already buffered!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions