/** * Endianness utility class for serlization/deserialization */ export declare class Endianness { /** * Whether the device is little endian */ readonly isDeviceLittleEndian: boolean; constructor(); private _getIsDeviceLittleEndian; /** * Changes the byte order of the array * @param array Array to swap */ swap16Array(array: Int16Array | Uint16Array, offset?: number, length?: number): void; /** * Changes the byte order of the array * @param array Array to swap */ swap32Array(array: Int32Array | Uint32Array | Float32Array, offset?: number, length?: number): void; }