bits A very simple helpers to manipulate bits in go, you can just copy the file. Extract specific bit in a byte Create a byte mask of contiguos bits for specific range Extract a number represented in a range of bits