Skip to content

Function: writeIsoBox() ​

ts
function writeIsoBox(box, config?): Uint8Array<ArrayBuffer>;

Defined in: libs/iso-bmff/src/writeIsoBox.ts:16

Write an ISO box to a Uint8Array.

Parameters ​

box ​

IsoBoxStreamable

The box to write

config? ​

IsoBoxWriteViewConfig

The configuration for the writer

Returns ​

Uint8Array<ArrayBuffer>

The written box. A box given as a view over a SharedArrayBuffer is copied, so the result is always backed by an ArrayBuffer.

A Streaming Video Technology Alliance project.