A C++ library for better bit manipulation.
Sudo iostream manipulator to output data in binary format.
Automatically adapt the user input to decide how to format output. Data that is less than one nibble in size will be outputted as 4 bytes, anything longer will be displayed as full bytes.
Data will be cut off after the final bit.
Data will be cut off after the final byte.
Data is outputted in stl format with prefix 0x infront of the hex value.
Returns the number of bytes needed to maintain data integrity.
Returns the number of bits needed to maintain data integrity
Struct used to hold first and second nibble.
Returns a Nibbles struct holding the first and second nibbles of the data provided. Throws error if data is more than one byte.
Returns the bits in reverse order.
Returns the data with each bit flipped.
Returns the targeted byte.