Skip to content

Function: writeMoof() ​

ts
function writeMoof(cursor, box): void;

Defined in: writers/writeMoof.ts:19

Write the moof box (MovieFragmentBox).

The writers map does not need an entry for the moof box type. writeIsoBoxes writes the same bytes with this writer and without this writer.

Each 64-bit integer field of a child box is a number or a bigint.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

MovieFragmentBox<IsoInt64>

The MovieFragmentBox fields to write

Returns ​

void

A Streaming Video Technology Alliance project.