code: def load_uint_b(buffer, width):
      
      result = 0
      for idx in range(width):
          result += buffer[idx] << (8 * idx)
      return result
docs: Loads fixed size integer from the buffer
      :param buffer:
      :return: