code: def serializeG1(x, compress=True):
      
      assertType(x, G1Element)
      return _serialize(x, compress, librelic.g1_size_bin_abi,
          librelic.g1_write_bin_abi)
docs: Converts G1 element @x into an array of bytes. If @compress is True, 
      the point will be compressed resulting in a much shorter string of bytes.