save method

save

Saves (copies) the stream’s data to the specified stream. Uses default buffer size StreamContainer.ReadWriteBytesCount and stream StreamContainer.length value.

def save(self, destination_stream):
    ...
ParameterTypeDescription
destination_streamio.RawIOBaseThe stream to save the data to.

save

Saves (copies) the stream’s data to the specified stream. Uses default buffer size StreamContainer.ReadWriteBytesCount and stream StreamContainer.length value.

def save(self, file_path):
    ...
ParameterTypeDescription
file_pathstrThe file path to save the stream data to.

save

Saves (copies) all the stream’s data to the specified stream. Uses stream StreamContainer.length value.

def save(self, destination_stream, buffer_size):
    ...
ParameterTypeDescription
destination_streamio.RawIOBaseThe stream to save the data to.
buffer_sizeintThe buffer.

save

Saves (copies) the stream’s data to the specified stream. Uses stream StreamContainer.length value.

def save(self, file_path, buffer_size):
    ...
ParameterTypeDescription
file_pathstrThe file path to save the stream data to.
buffer_sizeintThe buffer size. By default StreamContainer.ReadWriteBytesCount value is used.

save

Saves (copies) the stream’s data to the specified stream.

def save(self, destination_stream, buffer_size, length):
    ...
ParameterTypeDescription
destination_streamio.RawIOBaseThe stream to save the data to.
buffer_sizeintThe buffer size. By default StreamContainer.ReadWriteBytesCount value is used.
lengthintThe stream data length to copy. By default the length is set to StreamContainer.length value.

save

Saves (copies) the stream’s data to the specified stream.

def save(self, file_path, buffer_size, length):
    ...
ParameterTypeDescription
file_pathstrThe file path to save the stream data to.
buffer_sizeintThe buffer size. By default StreamContainer.ReadWriteBytesCount value is used.
lengthintThe stream data length to copy. By default the length is set to StreamContainer.length value.

See Also