Help for this page

Select Code to Download


  1. or download this
    The integer formats s, S, i, I, l, L, j, and J
    ...
    ...
    
        0x12 0x34 0x56 0x78  # big-endian
        0x78 0x56 0x34 0x12  # little-endian
    
  2. or download this
    $ perl -V:byteorder
    byteorder='1234';
    ...
    
    $ perl -e"print sprintf q{%x}, 305419896 "
    12345678