def dc.size

bend-kit-http@0.38.4.0 · http.bend:465

import bend-kit-http@0.38.4.0/http.bend as Http
import Base

465# A size that would overflow 32 bits ends the digits, and size.end then refuses it.
466def dc.size(+acc: U32, seen: Bool, +c: U32, digit: Bool) -> Dc:
467  match digit:
468    case True{}:
469      DcSize{(acc * 16 + hexv(c) : U32), True{}}
470    case False{}:
471      dc.size.end(acc, c, seen)

Uses (7)

Used by (1)