Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.7 KB

bits.md

File metadata and controls

44 lines (33 loc) · 1.7 KB
title categories version bits usage
bits
bits
0.86.0
Various commands for working with bits.
Various commands for working with bits.

{{ $frontmatter.title }} for bits

{{ $frontmatter.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