def dump_uvarint_b_into(n, buffer, offset=<NUM_LIT:0>):
shifted = True<EOL>while shifted:<EOL><INDENT>shifted = n >> <NUM_LIT:7><EOL>buffer[offset] = (n & <NUM_LIT>) | (<NUM_LIT> if shifted else <NUM_LIT>)<EOL>offset += <NUM_LIT:1><EOL>n = shifted<EOL><DEDENT>return buffer<EOL>
Serializes n as variable size integer to the provided buffer.
Buffer has to ha
:param n:
:param buffer:
:param offset:
:return: