Tries to read from stream, as with g_input_stream_read() (if
blocking is TRUE) or g_pollable_input_stream_read_nonblocking()
(if blocking is FALSE). This can be used to more easily share
code between blocking and non-blocking implementations of a method.
If blocking is FALSE, then stream must be a
GPollableInputStream for which g_pollable_input_stream_can_poll()
returns TRUE, or else the behavior is undefined. If blocking is
TRUE, then stream does not need to be a GPollableInputStream.
Since 2.34
Tries to read from stream, as with g_input_stream_read() (if blocking is TRUE) or g_pollable_input_stream_read_nonblocking() (if blocking is FALSE). This can be used to more easily share code between blocking and non-blocking implementations of a method. If blocking is FALSE, then stream must be a GPollableInputStream for which g_pollable_input_stream_can_poll() returns TRUE, or else the behavior is undefined. If blocking is TRUE, then stream does not need to be a GPollableInputStream. Since 2.34