StreamSource constructor

init

Initializes a new instance of the StreamSource class.

def __init__(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream to open.

init

Initializes a new instance of the StreamSource class.

def __init__(self, stream, dispose_stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream to open.
dispose_streamboolif set to true the stream will be disposed.

See Also