import { scanUntilBoundary } from "https://deno.land/x/abc@v1.3.1/vendor/https/deno.land/std/mime/multipart.ts";
Scans buf
to identify how much of it can be safely returned as part of the
PartReader
body.
Parameters
- Is "\r\n--boundary" or "\n--boundary", depending on what mode we are in. The comments below (and the name) assume "\n--boundary", but either is accepted.
- The number of bytes read out so far. If total == 0, then a leading "--boundary" is recognized.