Skip to content

Type Alias: IsoInt64Reader<V> ​

ts
type IsoInt64Reader<V> = (cursor, size, signed) => V;

Defined in: IsoInt64Reader.ts:21

The value of the int64 option of IsoBoxReadConfig.

The function reads one integer field of 4 or 8 bytes at the position of the cursor. readWideUint and readWideInt call the function for every field that a reader reads with them. The return type is the type of every 64-bit field in the result.

The function reads the field with the field functions, such as readUint32 and readUint64. The function must not call readWideUint or readWideInt, because those functions call the function.

Type Parameters ​

V ​

V extends IsoInt64 = number

Parameters ​

cursor ​

IsoBoxReadCursor<IsoInt64>

The cursor to read the field from.

size ​

4 | 8

The size of the field in bytes.

signed ​

boolean

Whether the field is a signed integer.

Returns ​

V

The value of the field.

A Streaming Video Technology Alliance project.