TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.30
Escapes the nul characters in string to "\x00". It can be used to compile a regex with embedded nul characters.
string
For completeness, length can be -1 for a nul-terminated string. In this case the output string will be of course equal to string.
length
the string to escape
the length of string
a newly-allocated escaped string
2.30
Escapes the nul characters in
stringto "\x00". It can be used to compile a regex with embedded nul characters.For completeness,
lengthcan be -1 for a nul-terminated string. In this case the output string will be of course equal tostring.