ByteRange
Defined in: packages/filecoin-encryption-envelope/src/range/plan.ts:29
A byte range over an object’s plaintext, HTTP Range-header style.
Properties
Section titled “Properties”length?
Section titled “length?”
optionallength?:number
Defined in: packages/filecoin-encryption-envelope/src/range/plan.ts:33
Bytes to include. Omitted means “to the end”. Forbidden together with a negative offset.
offset
Section titled “offset”offset:
number
Defined in: packages/filecoin-encryption-envelope/src/range/plan.ts:31
Non-negative: from the start. Negative: a suffix, e.g. -1024 is the last 1024 bytes.