Skip to content

Function: readDref() ​

ts
function readDref<V>(cursor): DataReferenceBox<V>;

Defined in: readers/readDref.ts:19

Read the dref box (DataReferenceBox).

Type Parameters ​

V ​

V extends IsoInt64

Parameters ​

cursor ​

IsoBoxReadCursor<V>

The read cursor at the first byte after the box header

Returns ​

DataReferenceBox<V>

A parsed DataReferenceBox

Throws ​

RangeError if the box has fewer complete child boxes than entry_count.

A Streaming Video Technology Alliance project.