Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.IO.ReadRequest
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ReadRequest } = default.IO;

Properties

handle: StreamHandle

Handle of the stream to read.

optional
offset: integer

Seek to the specified offset before reading (if not specificed, proceed with offset following the last read). Some types of streams may only support sequential reads.

optional
size: integer

Maximum number of bytes to read (left upon the agent discretion if not specified).