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