Skip to content

Function: readMeta() ​

ts
function readMeta<V>(cursor): MetaBox<V>;

Defined in: readers/readMeta.ts:20

Read the meta box (MetaBox).

The 64-bit integer fields of the child boxes have the type that the int64 function of the cursor returns. With no option, they are numbers.

Type Parameters ​

V ​

V extends IsoInt64

Parameters ​

cursor ​

IsoBoxReadCursor<V>

The read cursor at the first byte after the box header

Returns ​

MetaBox<V>

A parsed MetaBox

A Streaming Video Technology Alliance project.