def collect.add
import bend-kit-multipart@0.3.0.0/multipart.bend as Multipartimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
626def collect.add(ps: List<&1, Part>, b: Bytes.Bytes) -> List<&1, Part>:
627 match ps:
628 case Nil{}:
629 Nil{}
630 case Con{Part{n, f, c, body}, t}:
631 Con{Part{n, f, c, Bytes.append(body, b)}, t}