Documentation

bitwise package

The bitwise package provides functions for performing bitwise operations on integers. Import the bitwise package:

import "bitwise"

All integers are 64 bit integers.

Functions prefixed with s operate on signed integers (int). Functions prefixed with u operate on unsigned integers (uint).

Functions


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more