Function: writeSidx()
ts
function writeSidx(cursor, box): void;Defined in: writers/writeSidx.ts:27
Write the sidx box (SegmentIndexBox).
ISO/IEC 14496-12:2015 - 8.16.3
Each 64-bit integer field of the box is a number or a bigint. The writer throws a RangeError for a bigint that does not fit the field.
Parameters
cursor
The write cursor
box
The SegmentIndexBox fields to write
Returns
void
Throws
RangeError if a value of the box does not fit its field.
Throws
RangeError if the box has more than 65535 references.