CML
    Preparing search index...

    A view for writing ISO BMFF data.

    Index

    Constructors

    Accessors

    Methods

    • Writes an array of numbers to the data view.

      Type Parameters

      Parameters

      • data: number[]

        The data to write.

      • type: T

        The type of the data.

      • size: number

        The size, in bytes, of each data value.

      • length: number

        The number of values to write. (optional)

      Returns void

    • Writes a box header to the data view.

      Parameters

      • type: string

        The type of the box.

      • size: number

        The size, in bytes, of the box.

      Returns void

    • Writes a Uint8Array to the data view.

      Parameters

      • data: Uint8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike>[]

        The data to write.

      Returns void

    • Writes a full box header to the data view.

      Parameters

      • version: number

        The version of the full box.

      • flags: number

        The flags of the full box.

      Returns void

    • Writes an int to the data view.

      Parameters

      • value: number

        The value to write.

      • size: number

        The size, in bytes, of the value.

      Returns void

    • Writes a template to the data view.

      Parameters

      • value: number

        The value to write.

      • size: number

        The size, in bytes, of the template.

      Returns void

    • Writes a uint to the data view.

      Parameters

      • value: number

        The value to write.

      • size: number

        The size, in bytes, of the value.

      Returns void

    • Writes a UTF-8 null terminated string to the data view.

      Parameters

      • value: string

        The value to write.

      Returns void