Function fromBuffer

  • Converts an I32 value to a number

    Parameters

    • buffer: Uint8Array

      The buffer to read from

    • offset: number

      The optional offset in the buffer at which to start reading the I32 value (default: 0)

    Returns {
        offset: number;
        value: I32_t;
    }

    The I32 representation of the bytes

    • offset: number
    • value: I32_t