GLib.strcompress
function strcompress(source: String): String { // Gjs wrapper for g_strcompress() }
Replaces all escaped characters with their one byte equivalent.
This function does the reverse conversion of GLib.strescape.
- source
a string to compress
- Returns
a newly-allocated copy of source with all escaped character compressed