Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/legacy/deps.ts>ByteRange

A better way to work with processes in Deno.
Go to Latest
interface ByteRange
Deprecated
Deprecated

(will be removed after 1.0.0) Use the [Web Streams API]https://developer.mozilla.org/en-US/docs/Web/API/Streams_API instead.

import { type ByteRange } from "https://deno.land/x/proc@0.21.5/legacy/deps.ts";

Properties

start: number

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

end: number

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