def walk.crlf

emerging-ezhttp@0.21.0.0 · src/http.bend:1525

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

1525# a chunk's data skipped: whether its CRLF has arrived, and on to the next
1526# chunk header when it has
1527def walk.crlf(g: Nat, +left: Nat, +rest: String, ready: Bool,
1528  go: String -> Walk) -> Walk:
1529  match ready:
1530    case True{}:
1531      go(octs.drop(rest, Nat.add(left, 2n)))
1532    case False{}:
1533      Tail{g, left, rest}

Uses (6)

Used by (1)