def talk.piece

bend-kit-http@0.38.5.0 · http.bend:5903

import bend-kit-http@0.38.5.0/http.bend as Http
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

5903def talk.piece(settings: Limits, sv: Sv, p: U32 & Array<U32>) -> Turn:
5904  Limits{max, headers, hm, bm, im, wm} = settings
5905  (+len, buf) = p
5906  sv.step(U32.is_eq(len, 0), max, headers, sv, Bytes.Bytes{len, buf})

Uses (10)

Used by (1)