def chunks.ended.at
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
1330# a chunk header that has arrived, or not yet
1331def chunks.ended.at(c: Cut, rest: Cut -> Bool) -> Bool:
1332 match c:
1333 case NoCut{}:
1334 False{}
1335 case Cut{+before, +after}:
1336 chunks.ended.hex(before, after, hex.well(chunks.token(before)), rest)