• Reads 2 bytes from array starting at offset as big-endian signed 16-bit integer and returns it.

    Parameters

    • array: Uint8Array
    • offset: number = 0

    Returns number