Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

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

๐Ÿ“‘ A XML parser/stringifier for Deno written in typescript and with no dependencies
Very Popular
Go to Latest
method Stream.prototype.peek
import { Stream } from "https://deno.land/x/xml@4.0.0/utils/stream.ts";

Peek next bytes (cursor is replaced at current position after reading)

Parameters

optional
bytes = [UNSUPPORTED]
optional
offset = [UNSUPPORTED]