OId.from_string


Description:

[ CCode ( has_construct_function = false ) ]
public OId.from_string (string str)

Parses a hex formatted object id into a OId.

Parameters:

str

input hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (40 bytes).

Returns:

a newly allocated OId or null on error.