Function: readMdhd()
ts
function readMdhd<V>(cursor): MediaHeaderBox<V>;Defined in: readers/readMdhd.ts:22
Read the mdhd box (MediaHeaderBox).
The 64-bit integer fields of the result 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
The read cursor at the first byte after the box header
Returns
A parsed MediaHeaderBox