StreamContainer constructor

init

Initializes a new instance of the StreamContainer class.

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

init

Initializes a new instance of the StreamContainer class.

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

See Also