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
The write cursor
box
The DataReferenceBox fields to write
Returns
void
Throws
RangeError if a value of the box does not fit its field.