Skip to content

Add an easy API to get a slice from a Cursor #16

Open
@RReverser

Description

@RReverser

Right now, the only Slice constructors require passing in an explicit offset; however, when working with Cursor or SizeCursor, it would be more natural to be able to

  1. only pass a length you wish to read
  2. get a Slice of the given length back
  3. have the Cursor position auto-advanced

in a single call.

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