public static boolean isSupported(int bitsPerValue) {return Arrays.binarySearch(SUPPORTED_BITS_PER_VALUE, bitsPerValue) >= 0;}
public static bool IsSupported(int bitsPerValue){return Array.BinarySearch(SUPPORTED_BITS_PER_VALUE, bitsPerValue) >= 0;}