Skip to main content
Module

x/stream_slicing/deno_helpers.ts>partialReaderFromDenoFsFile

Deno and Node.js library for working with web standard streams
Latest
function partialReaderFromDenoFsFile
import { partialReaderFromDenoFsFile } from "https://deno.land/x/stream_slicing@v1.1.0/deno_helpers.ts";

Construct a PartialReader from a Deno.FsFile. This enables efficient seeking.

Internally this will return a subclass of PartialReader based on whether the stream supports byob mode ("bring your own buffer") readers, which are more efficient for some use-cases.