Thanks to visit codestin.com
Credit goes to github.com

Skip to content

serbanghita/bitmask

Repository files navigation

Bitmask

Bitwise operations for bitmasks and general purposes.

Node.js CI

Operation Description
addBit Adds bit to the bitmask.
removeBit Remove bit from bitmask.
hasBit Check if a bit already exists in the bitmask.
hasAnyOfBits Check if the bitmask contains any of the bits.
toggleBit Toggle existing/non-existing bits in the bitmask.
toggleAllBits Toggle all bits in the bitmask

About

Bitwise operations for working with bitmasks

Resources

License

Stars

Watchers

Forks

Packages

No packages published