def talk.piece

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

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

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

Uses (10)

Used by (1)