/* Converts the number of bytes in power of two and returns the power.  */
uint8_t convert_from_bytes_to_power_of_two(uint16_t NumberOfBytes)
/* Converts the number of bytes in power of two and returns the power.  */
uint8_t convert_from_bytes_to_power_of_two(uint16_t NumberOfBytes)
{
	uint8_t count = 0;
	while (NumberOfBytes != 1) {
		NumberOfBytes >>= 1;
		count++;
	}
	return (count);
}