Function: readMdia()
ts
function readMdia<V>(cursor): MediaBox<V>;Defined in: readers/readMdia.ts:21
Read the mdia box (MediaBox).
The readers map does not need an entry for the mdia box type. readIsoBoxes returns the same box with this reader and without this reader.
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
The read cursor at the first byte after the box header
Returns
MediaBox<V>
A parsed MediaBox