Skip to content

Function: writeDref() ​

ts
function writeDref(cursor, box): void;

Defined in: writers/writeDref.ts:21

Write the dref box (DataReferenceBox).

The writer writes the data entries with the writers of the cursor.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

DataReferenceBox<IsoInt64>

The DataReferenceBox fields to write

Returns ​

void

Throws ​

RangeError if a value of the box does not fit its field.

A Streaming Video Technology Alliance project.