named_dest_to_bytestring


Description:

[ CCode ( array_length_pos = 1.1 , array_length_type = "gsize" ) ]
[ Version ( since = "0.73" ) ]
public uint8[]? named_dest_to_bytestring (string name)

Converts a named dest string (e.g. from named_dest) into a bytestring, inverting the transformation of named_dest_from_bytestring.

Note that the returned data is not zero terminated and may also contains embedded NUL bytes.

If name is not a valid named dest string, returns null.

The returned data must be freed using g_free.

Parameters:

name

the named dest string

length

a location to store the length of the returned bytestring

Returns:

a new bytestring, or null


Namespace: Poppler
Package: poppler-glib