DataWrapper.with_stream


Description:

[ CCode ( has_construct_function = false ) ]
public DataWrapper.with_stream (Stream stream, ContentEncoding encoding)

Creates a new DataWrapper object around stream.

Parameters:

stream

a Stream

encoding

stream's encoding

Returns:

a data wrapper around stream. Since the wrapper owns its own reference on the stream, caller is responsible for unrefing its own copy.




2022 vala-language.org