def Cursor.skip

bend-kit-bytes@0.3.3.0 · bytes.bend:845

import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import Base

845def Cursor.skip(c: Cursor, +n: U32) -> Cursor & Bool:
846  Cursor{Bytes{+len, buf}, +pos, +start, +end} = c
847  Cursor.seek.if(Cursor.fits(len, pos, start, end, n), Cursor{Bytes{len, buf}, pos, start, end}, (pos + n : U32))

Uses (8)

Used by (7)