Builds a bitmask from the given list of methods.
The methods to make a bitmask for.
A bitmask where bits are active for each method in the given list.
Builds a bitmask from the given list of methods.