GLib.BookmarkFile.prototype.to_data

function to_data(): [return_value: String, length: Number(gsize)] {
    // Gjs wrapper for g_bookmark_file_to_data()
}
  

This function outputs bookmark as a string.

Since 2.12

return_value

a newly allocated string holding the contents of the GLib.BookmarkFile

length

return location for the length of the returned string, or null