Function poppler::functions::named_dest_from_bytestring

source ·
pub fn named_dest_from_bytestring(data: &[u8]) -> Option<GString>
Available on crate feature v0_73 only.
Expand description

Converts a bytestring into a zero-terminated string suitable to pass to Document::find_dest().

Note that the returned string has no defined encoding and is not suitable for display to the user.

The returned data must be freed using g_free().

§data

the bytestring data

§Returns

the named dest