def next

bend-kit-csv@0.3.0.0 · csv.bend:197

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

197# The next record, End at the end of input, or Bad with the offset of the first bad byte.
198def next(c: Cur) -> Next:
199  Cur{Bytes.Bytes{+len, buf}, +at} = c
200  next.if(U32.is_lt(at, len), len, buf, at)

Uses (5)

Used by (2)