Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 666 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 666 Bytes

BitConverter

This is C++ utility to handle bit and byte sequence.

Bit Converter

It provides conversion between byte array and c++ datatypes.
In addition, It provides conversion between std::bitset and byte array.

The motive of this Bit Converter was the absence of bit converter in C++ like BitConverter, BitArray class in C#.
So, it refers to C# classes, and tries to make the code independent of the platform. (e.g., Endianness)

MemoryStream

Prerequisite

cmake, automake, gcc

Build

Command below would make build/ directory.

$ ./compile.sh            // compile
$ ./build/bitConverter    // execute