Skip to content

parser::read_some should take a generic mutable buffer sequence instead of a span #45

Description

@ashtum

parser::read_some currently takes std::span<capy::mutable_buffer const>, so callers must first materialize an array of descriptors. Instead, it should be a constrained template over capy::MutableBufferSequence that iterates over the sequence and forwards each non-empty buffer to a single-buffer, out-of-line implementation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions