FileLoader.from_stream


Description:

[ CCode ( has_construct_function = false ) ]
public FileLoader.from_stream (Buffer buffer, File file, InputStream stream)

Creates a new FileLoader object.

The contents is read from stream.

Parameters:

buffer

the Buffer to load the contents into.

file

the File.

stream

the InputStream to load, e.g. stdin.

Returns:

a new FileLoader object.