An open API service indexing awesome lists of open source software.

https://github.com/qedsoftware/reverse-byte-ordering

Reverses the byte ordering in every consecutive block of n bytes, where n can be user-specified.
https://github.com/qedsoftware/reverse-byte-ordering

Last synced: 10 months ago
JSON representation

Reverses the byte ordering in every consecutive block of n bytes, where n can be user-specified.

Awesome Lists containing this project

README

          

DESCRIPTION
===============
A simple and fast C program for reversing byte ordering, block-wise.

INSTALLATION
===============

Procedure for building code using CMake:

[reverse_byte_ordering]$ mkdir build

[reverse_byte_ordering]$ cd build

[reverse_byte_ordering/build]$ cmake ..

[reverse_byte_ordering/build]$ make

Note that the last two commands are executed inside the build directory.

Afterwards, your tree structure should look like this:

[reverse_byte_ordering]$ tree -L 2
.
|-- CMakeLists.txt
|-- README.txt
|-- build
| |-- CMakeCache.txt
| |-- CMakeFiles
| |-- Makefile
| |-- cmake_install.cmake
| |-- src
|-- src
|-- CMakeLists.txt
|-- reverse_byte_ordering.c

and you can execute the program in the build/src directory as follows:

[masked_xcorr/build/src]$ ./reverse_byte_ordering

For more information on using CMake, check out http://www.cmake.org/cmake/help/cmake_tutorial.html

William Wu, 2013-05-20 10:04