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. |
bits not
|
Builtin | Performs logical negation on each bit. |
bits or
|
Builtin | Performs bitwise or for ints. |
bits rol
|
Builtin | Bitwise rotate left for ints. |
bits ror
|
Builtin | Bitwise rotate right for ints. |
bits shl
|
Builtin | Bitwise shift left for ints. |
bits shr
|
Builtin | Bitwise shift right for ints. |
bits xor
|
Builtin | Performs bitwise xor for ints. |
Tips: Command bits
was not
included in the official binaries by default, you have to build
it with --features=extra
flag