async def load_uint(reader, width):
buffer = _UINT_BUFFER<EOL>result = <NUM_LIT:0><EOL>shift = <NUM_LIT:0><EOL>for _ in range(width):<EOL><INDENT>await reader.areadinto(buffer)<EOL>result += buffer[<NUM_LIT:0>] << shift<EOL>shift += <NUM_LIT:8><EOL><DEDENT>return result<EOL>
Constant-width integer serialization
:param reader:
:param width:
:return: