construct_from_stream_sync


Description:

[ Version ( since = "3.0" ) ]
public virtual bool construct_from_stream_sync (Stream stream, Cancellable? cancellable = null) throws Error

Constructs the content of this from the given stream.

Parameters:

this

a DataWrapper

stream

an input Stream

cancellable

optional Cancellable object, or null

Returns:

true on success, false on error