code: def get_type_size(ty):
      
      m = type_str_re.match(ty)
      if m is None:
          raise ValueError('Type %s does not have size' % ty)
      return int(m.group('size'))
docs: Returns the size, in BITS, of a VEX type specifier
      e.g., Ity_I16 -> 16
  
      :param ty:
      :return: