Function: writeStyp()
ts
function writeStyp(cursor, box): void;Defined in: writers/writeStyp.ts:21
Write the styp box (SegmentTypeBox).
ISO/IEC 14496-12:2015 - 8.16.2
Parameters
cursor
The write cursor
box
The SegmentTypeBox fields to write
Returns
void
Throws
RangeError if a value of the box does not fit its field.
Throws
RangeError if majorBrand or a compatible brand does not have 4 characters.