gDataInputStreamSetNewlineType: gDataInputStreamSetNewlineType

Description Usage Arguments Details Author(s)

View source: R/gioFuncs.R

Description

Sets the newline type for the stream.

Usage

1

Arguments

object

a GDataInputStream.

type

the type of new line return as GDataStreamNewlineType.

Details

Note that using G_DATA_STREAM_NEWLINE_TYPE_ANY is slightly unsafe. If a read chunk ends in "CR" we must read an additional byte to know if this is "CR" or "CR LF", and this might block if there is no more data availible.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on June 12, 2018, 5:06 p.m.