Skip to content

Library Global Bitwise

Gabriel edited this page Sep 26, 2023 · 1 revision

Bitwise

Provides helper functions for bitwise operations.

Functions;

  • long Set(long @base, uint offset, bool isOffsetBitIndex = true) - sets a bit at the specified offset.
  • long Reset(long @base, uint offset, bool isOffsetBitIndex = true) - resets a bit at the specified offset.
  • bool Test(long @base, uint offset, bool isOffsetBitIndex = true) - determines if a bit is set at the specified offset.
Clone this wiki locally