Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 331 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 331 Bytes

EndianSwap

Simple C utlity for changing the endianess of a file. Input file's length must be a multiple of 2 or 4 bytes.

Compiling

make

Usage

32 bits endianness swap :

bin/endianswap /my/input/file.bin /my/output/file.bin

16 bits endianness swap :

bin/endianswap -n 16 input.bin output.bin