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
Gio.PollableInputStream 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 Gio.PollableInputStream.
Tries to read from
stream, as withg_input_stream_read()(ifblockingistrue) org_pollable_input_stream_read_nonblocking()(ifblockingisfalse). This can be used to more easily share code between blocking and non-blocking implementations of a method.If
blockingisfalse, thenstreammust be a Gio.PollableInputStream for whichg_pollable_input_stream_can_poll()returnstrue, or else the behavior is undefined. Ifblockingistrue, thenstreamdoes not need to be a Gio.PollableInputStream.