type Dc

bend-kit-http@0.38.2.0 · http.bend:424

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

424# A chunked body decoder that reads each byte once, so a body fed in pieces
425# costs O(bytes) in total. Tr{j}: j bytes of the closing CRLF CRLF matched.
426type Dc is Data:
427  DcSize{acc: U32, seen: Bool}
428  DcExt{n: U32}
429  DcSizeLf{n: U32}
430  DcData{k: U32}
431  DcDataCr{}
432  DcDataLf{}
433  DcTr{j: U32}
434  DcDone{}
435  DcBad{}

Uses (2)

Used by (33)