Command-line to reverse byte order/change endianess

后端 未结 6 1357
逝去的感伤
逝去的感伤 2021-02-07 18:49

I\'m hacking around in some scripts trying to parse some data written by Javas DataOutputStream#writeLong(...). Since java always seems to write big endian, I have

6条回答
  •  迷失自我
    2021-02-07 19:27

    Note the next version of GNU coreutils (>= 8.23) will add the --endian={little,big} option to the od command

提交回复
热议问题