code: def write_int(self, datum):
      self.write(STRUCT_INT.pack(datum))
  
imports: import struct
  from avro.io import AvroTypeException, BinaryDecoder, BinaryEncoder, DatumReader, DatumWriter, SchemaResolutionException, Validate
label_desc: Use image node_id 2 for calling the FlinkAvroEncoder obj's underlying member method code with example usage: obj.write_int(datum) without return types