Catalyst.ByteUtils
Description:
The ByteUtils namespace contains useful functions for operating on byte values.
Content:
Functions:
- public char clear_bit (char byte_value, size_t position)
Clears the bit value at the given position within the byte. This has
the effect of setting the bit value to 0.
- public bool get_bit (char byte_value, size_t position)
Gets the bit value at the given position within the byte.
- public char set_bit (char byte_value, size_t position)
Sets the bit value at the given position within the byte. This has the
effect of setting the bit value to 1.