import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { ReadRequest } = Protocol.IO;
Properties
handle: StreamHandle
Handle of the stream to read.
optional
offset: integerSeek 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: integerMaximum number of bytes to read (left upon the agent discretion if not specified).