Skip to main content

@std/io@0.215.0

latest
Works with
It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun
It is unknown whether this package works with Browsers
It is unknown whether this package works with Deno
It is unknown whether this package works with Node.js
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score70%
Published2 years ago (0.215.0)

Functions

f
readRange(
r: Reader & Deno.Seeker,
range: ByteRange
): Promise<Uint8Array>

Read a range of bytes from a file or other resource that is readable and seekable. The range start and end are inclusive of the bytes within that range.

f
readRangeSync(
r: ReaderSync & Deno.SeekerSync,
range: ByteRange
): Uint8Array

Read a range of bytes synchronously from a file or other resource that is readable and seekable. The range start and end are inclusive of the bytes within that range.

Interfaces

I
No documentation available
  • end: number

    The 0 based index of the end byte for a range, which is inclusive.

  • start: number

    The 0 based index of the start byte for a range.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/io

Import symbol

import * as mod from "@std/io/read_range";
or

Import directly with a jsr specifier

import * as mod from "jsr:@std/io/read_range";