x/oak/buf_reader.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
class BufReader
import { BufReader } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/buf_reader.ts?s=BufReader";

BufReader implements buffering for a Reader object.

Constructors

new
BufReader(rd: Deno.Reader, size?: number)
[src]

Methods

buffered(): number[src]
readLine(strip?): Promise<{ bytes: Uint8Array; eol: boolean; } | null>[src]
readSlice(delim: number): Promise<Uint8Array | null>[src]