code: def pack(self):
          
          with io.BytesIO() as file_out:
              file_out.write(pack(
                  '>HHI',
                  self.max_stack,
                  self.max_locals,
                  len(self._code)
              ))
              file_out.write(self._code)
  
              file_out.write(pack('>H', len(self.exception_table)))
              for exception in self.exception_table:
                  file_out.write(pack('>HHHH', *exception))
  
              self.attributes.pack(file_out)
              return file_out.getvalue()
docs: The `CodeAttribute` in packed byte string form.