code: def write_int(self, num):
      bin_int = "{0:08b}".format(num)
      self.write_bits(bin_int)
  
imports: from collections import defaultdict, deque
  import heapq
label_desc: Use image node_id 3 for calling the HuffmanWriter obj's underlying member method code with example usage: obj.write_int(num) without return types