pdf-lite - v1.0.1
    Preparing search index...

    Function int32ToLittleEndianBytes

    • Converts a 32-bit integer to a 4-byte little-endian byte array.

      Parameters

      • value: number

        The 32-bit integer to convert.

      Returns ByteArray

      A 4-byte array in little-endian order.

      int32ToLittleEndianBytes(0x12345678) // Returns [0x78, 0x56, 0x34, 0x12]