bits for bits

Various commands for working with bits.

Signature

> bits

Input/output types:

inputoutput
nothingstring

Notes

You must use one of the following subcommands. Using this command as-is will only produce this help message.

Subcommands:

nametypeusage
bits andBuiltinPerforms bitwise and for integers.
bits notBuiltinPerforms logical negation on each bit.
bits orBuiltinPerforms bitwise or for integers.
bits rolBuiltinBitwise rotate left for integers.
bits rorBuiltinBitwise rotate right for integers.
bits shlBuiltinBitwise shift left for integers.
bits shrBuiltinBitwise shift right for integers.
bits xorBuiltinPerforms bitwise xor for integers.

Tips: Command bits was not included in the official binaries by default, you have to build it with --features=extra flag