Deserializes an array of bytes, @x, into a G2 element.

def deserializeG2(x, compressed=True):
    """
    Deserializes an array of bytes, @x, into a G2 element.
    """
    return _deserialize(x, G2Element, compressed, librelic.g2_read_bin_abi)