def dump_uvarint(value: int) -> bytearray: writer = BufferWriter(bytearray(16)) protobuf.dump_uvarint(writer, value) return memoryview(writer.buffer)[:writer.offset]
def dump_uvarint(value: int) -> bytearray: writer = ByteArrayWriter() await_result(protobuf.dump_uvarint(writer, value)) return writer.buf
def dump_uvarint(value: int) -> bytearray: w = bytearray() protobuf.dump_uvarint(w.extend, value) return w
def write_variant32(w: Writer, value: int) -> None: dump_uvarint(w.extend, value)
def dump_uvarint(value: int) -> bytearray: writer = ByteArrayWriter() run_until_complete(protobuf.dump_uvarint(writer, value)) return writer.buf