bits for bits

Various commands for working with bits.

Signature

> bits {flags}

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 ints or binary values.
bits notBuiltinPerforms logical negation on each bit.
bits orBuiltinPerforms bitwise or for ints or binary values.
bits rolBuiltinBitwise rotate left for ints or binary values.
bits rorBuiltinBitwise rotate right for ints or binary values.
bits shlBuiltinBitwise shift left for ints or binary values.
bits shrBuiltinBitwise shift right for ints or binary values.
bits xorBuiltinPerforms bitwise xor for ints or binary values.