async def uint(self, elem, elem_type, params=None):
if self.writing:<EOL><INDENT>return IntegerModel(elem, elem_type.WIDTH) if self.modelize else elem<EOL><DEDENT>else:<EOL><INDENT>return elem.val if isinstance(elem, IModel) else elem<EOL><DEDENT>
Integer types
:param elem:
:param elem_type:
:param params:
:return: