GLib.IOChannel.prototype.get_line_term
function get_line_term(length: Number(gint)): String { // Gjs wrapper for g_io_channel_get_line_term() }
This returns the string that GLib.IOChannel uses to determine where in the file a line break occurs. A value of null indicates autodetection.
- length
a location to return the length of the line terminator
- Returns
The line termination string. This value is owned by GLib and must not be freed.