Skip to content

Function: writeFree() ​

ts
function writeFree(cursor, box): void;

Defined in: writers/writeFree.ts:19

Write the free box (FreeSpaceBox).

ISO/IEC 14496-12:2015 - 8.1.2

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

FreeSpaceBox<"free">

The FreeSpaceBox fields to write

Returns ​

void

Throws ​

RangeError if a value of the box does not fit its field.

A Streaming Video Technology Alliance project.