def sv.head.at

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

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

5836# Only the new bytes, and the 3 before them, can finish the blank line.
5837def sv.head.at(+max: Nat, +headers: U32, +from: U32, buf: Bytes.Bytes) -> Turn:
5838  Bytes.Bytes{+len, b} = buf
5839  sv.seek(max, headers, len, from, Bytes.slice(Bytes.Bytes{len, b}, from, (len - from : U32)))

Uses (7)

Used by (1)