def enc.found
bend-kit-multipart@0.3.0.0 · multipart.bend:244
import bend-kit-multipart@0.3.0.0/multipart.bend as Multipart
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
244def enc.found(r: Bytes.Bytes & Maybe<&2, U32>, +head: String, xs: List<&1, Bytes.Bytes>) -> Result<&1, &1, String, List<&1, Bytes.Bytes>>:
245 (body, hit) = r
246 match hit:
247 case Some{i}:
248 Fail{"multipart: boundary occurs in a part body"}
249 case None{}:
250 Done{Con{Bytes.from_string("\r\n"), Con{body, Con{Bytes.from_string(head), xs}}}}