Function: writeIden()
ts
function writeIden(cursor, box): void;Defined in: writers/writeIden.ts:20
Write the iden box (WebVttCueIdBox).
Parameters
cursor
The write cursor
box
The WebVttCueIdBox fields to write
Returns
void
Throws
RangeError if a value of the box does not fit its field.
Example
ts
const box: WebVttCueIdBox = {
type: 'iden',
cueId: 'cue-1',
}
const writer = writeIsoBox(box, { writers: { iden: writeIden } })