Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/xml/utils/stream.ts>Stream#capture

📑 A XML parser/stringifier for Deno written in typescript and with no dependencies
Go to Latest
method Stream.prototype.capture
import { Stream } from "https://deno.land/x/xml@2.1.2/utils/stream.ts";

Capture next bytes until matching regex sequence (length can be used for regex with lookbehind)

Parameters

unnamed 0: { until: RegExp; bytes: number; trim?: boolean; length?: number; }