StreamFile.open

Creates a new #GMimeStreamFile object for the specified path.

class StreamFile
static
open
(
string path
,
string mode
)

Parameters

path string

the path to a file

mode string

as in fopen(3)

Return Value

Type: gmime.stream.Stream

a stream using for reading and/or writing to the specified file path or null on error.

Throws