Skip to main content
Module

std/io/_iotest.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.139.0/io/_iotest.ts";

Classes

HalfReader returns a Reader that implements Read by reading half as many requested bytes from r.

OneByteReader returns a Reader that implements each non-empty Read by reading one byte from r.

TimeoutReader returns Deno.errors.TimedOut on the second read with no data. Subsequent calls to read succeed.