Gio.DataStreamNewlineType

Gio.DataStreamNewlineType is used when checking for or setting the line endings for a given file.

DataStreamNewlineType.LF

Selects "LF" line endings, common on most modern UNIX platforms.

DataStreamNewlineType.CR

Selects "CR" line endings.

DataStreamNewlineType.CR_LF

Selects "CR, LF" line ending, common on Microsoft Windows.

DataStreamNewlineType.ANY

Automatically try to handle any line ending type.