Skip to content

v1.0.0

Latest

Choose a tag to compare

@SierraKomodo SierraKomodo released this 05 Oct 06:37
· 3 commits to main since this release
b99d8a7

Added

  • BitOperations class (SierraKomodo\BitWise\BitOperations) and static methods for:
    • Conversion between bit positions and bitmasks. Note: Bit positions are 0-indexed in all functions and parameters.
    • Bit position shifting.
    • Manipulation of single bits in a bitmask.
    • Manipulation of multiple bits via bitmask (Flags) against another bitmask.
  • Bitfield trait for use by Enums serving as semantic defines for bit flags (SierraKomodo\BitWise\Traits\BitEnum).

Full Changelog: https://github.com/SierraKomodo/BitWise/commits/v1.0.0