Skip to content

ByteRange

Defined in: src/ocfl-file.ts:9

Part of a file’s content. Both ends are byte offsets from 0, and end is included, as in an HTTP Range header.

readonly optional end?: number

Defined in: src/ocfl-file.ts:13

Last byte to read. Defaults to the end of the file.


readonly optional start?: number

Defined in: src/ocfl-file.ts:11

First byte to read. Defaults to 0.