Category "hexdump"

why does hexdump reverse the input when given "\xFF\x00"? [duplicate]

Why does hexdump print 00ff here? I expected it to print ff00 , like it got in stdin, but $ printf "\xFF\x00" | hexdump 0000000 00ff 0000002

Reading hex data from serial port

I am trying to read a hex data from an MCU connected by USB. The MCU is designed to provide output in hex. This is a simple code I wrote using pyserial: import

How do I turn a file into a RAW bitstring?

How do I read a file and turn it to a RAW bit string? For example I open an image that is 512kb, It reads the file byte by byte, and it spits out the long bit s

How to create a Datasheet for Elden Ring Save-Files

I'd like to find out the offset of certain information like level, equipped items etc. from the ER0000.sl2 save file. It has been done for Dark Souls here. And