Skip to content

Bit Manipulation

Choose a tag to compare

@AlexanderTonn AlexanderTonn released this 06 Jan 22:24

Changes

  • with this function it's possible to read or write (0 / 1) a single bit of any integer variables
  • the function is detecting whether the selected bit is out of range of the variable
  • works with any integer data types with a size of 1 - 8 byte.

corresponding commits:

b6dff43

⚠️ NOTE: all external libraries are in the attachement which are necessary for this library