Beta
Beta
Creates a new IsoView instance. Similar to DataView, but with additional methods for reading ISO BMFF data. It implements the iterator protocol, so it can be used in a for...of loop.
The raw data to view.
Optional
config: IsoViewConfigThe configuration for the IsoView.
Beta
The number of bytes remaining in the data view.
Beta
The current byteoffset in the data view.
Beta
Whether the end of the data view has been reached.
Beta
Reads an array of values from the data view.
The type of the values.
The size of the values in bytes.
The number of values to read.
The array of values.
Beta
Reads a number of boxes from the data view.
The number of boxes to read.
The boxes.
Beta
Reads a byte array from the data view.
The size of the data in bytes.
The data.
Beta
Reads a signed integer from the data view.
The size of the integer in bytes.
The signed integer.
Beta
Reads a string from the data view.
The size of the string in bytes.
The string.
Beta
Reads a template from the data view.
The size of the template in bytes.
The template.
Beta
Reads a unsigned integer from the data view.
The size of the integer in bytes.
The unsigned integer.
Beta
Reads a UTF-8 string from the data view.
Optional
size: numberThe size of the string in bytes.
The UTF-8 string.
Beta
Creates a new IsoView instance with a slice of the current data view.
The size of the slice.
A new IsoView instance.
ISO BMFF data view. Similar to DataView, but with additional methods for reading ISO BMFF data. It implements the iterator protocol, so it can be used in a for...of loop.