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
- only pass a length you wish to read
- get a
Slice of the given length back
- have the
Cursor position auto-advanced
in a single call.
Right now, the only
Sliceconstructors require passing in an explicit offset; however, when working withCursororSizeCursor, it would be more natural to be able toSliceof the given length backCursorposition auto-advancedin a single call.