bits
for bits
Various commands for working with bits.
Signature
> bits {flags}
Input/output types:
input | output |
---|---|
nothing | string |
Notes
You must use one of the following subcommands. Using this command as-is will only produce this help message.
Subcommands:
name | type | usage |
---|---|---|
bits and | Builtin | Performs bitwise and for ints or binary values. |
bits not | Builtin | Performs logical negation on each bit. |
bits or | Builtin | Performs bitwise or for ints or binary values. |
bits rol | Builtin | Bitwise rotate left for ints or binary values. |
bits ror | Builtin | Bitwise rotate right for ints or binary values. |
bits shl | Builtin | Bitwise shift left for ints or binary values. |
bits shr | Builtin | Bitwise shift right for ints or binary values. |
bits xor | Builtin | Performs bitwise xor for ints or binary values. |