Gio.DataInputStream.prototype.get_newline_type

function get_newline_type(): Gio.DataStreamNewlineType {
    // Gjs wrapper for g_data_input_stream_get_newline_type()
}
  

Gets the current newline type for the stream.

Returns

Gio.DataStreamNewlineType for the given stream.