async def dump_uint(writer, n, width):
buffer = _UINT_BUFFER<EOL>for _ in range(width):<EOL><INDENT>buffer[<NUM_LIT:0>] = n & <NUM_LIT><EOL>await writer.awrite(buffer)<EOL>n >>= <NUM_LIT:8><EOL><DEDENT>
Constant-width integer serialization
:param writer:
:param n:
:param width:
:return: