parse_stream


Description:

public bool parse_stream (InputStream input, Cancellable? cancellable = null) throws Error

Parse items from the data in a InputStream.

This function may block while reading from the input stream. Use parse_stream_async for a non-blocking variant.

The parsed and authenticate signals may fire during the parsing.

Parameters:

this

The parser

input

The input stream

cancellable

An optional cancellation object

Returns:

Whether the parsing completed successfully or not.




2022 vala-language.org