Skip to content

bitwiseNot

bitwiseNot(binary) → binary · Binary

Perform bitwise NOT (inversion) on a binary value.

  • binary (required): binary data to invert
utlx
{
  inverted: toHex(bitwiseNot(fromHex("FF00")))
}
// Output: {"inverted": "00ff"}

Released under AGPL-3.0.