Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/io/mod.ts>ByteRange

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ByteRange
Deprecated
Deprecated

(will be removed after 1.0.0) Use the Web Streams API instead.

import { type ByteRange } from "https://deno.land/std@0.218.0/io/mod.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.