Skip to main content
Module

std/io/limited_reader.ts>LimitedReader

The Deno Standard Library
Latest
class LimitedReader
implements Reader
Deprecated
Deprecated

(will be removed after 1.0.0) Use the Web Streams API instead.

import { LimitedReader } from "https://deno.land/std@0.223.0/io/limited_reader.ts";

Constructors

new
LimitedReader(reader: Reader, limit: number)

Methods

read(p: Uint8Array): Promise<number | null>