code: def _SignedVarintEncoder():
      """Return an encoder for a basic signed varint value (does not include
      tag)."""
  
      def EncodeSignedVarint(write, value):
          if value < 0:
              value += 1 << 64
          bits = value & 0x7F
          value >>= 7
          while value:
              write(six.int2byte(0x80 | bits))
              bits = value & 0x7F
              value >>= 7
          return write(six.int2byte(bits))
  
      return EncodeSignedVarint
  
imports: import struct
  import six
  from google.protobuf.internal import wire_format
label_desc: Use image node_id 14 for calling a global function with example usage: _SignedVarintEncoder() and returns: EncodeSignedVarint, write