Converts a bytestring into a zero-terminated string suitable to pass to 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 |
length |
the bytestring length |
the named dest |