save method
Contents
[
Hide
]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):
    ...
| Parameter | Type | Description | 
|---|---|---|
| destination_stream | io.RawIOBase | The 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):
    ...
| Parameter | Type | Description | 
|---|---|---|
| file_path | str | The 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):
    ...
| Parameter | Type | Description | 
|---|---|---|
| destination_stream | io.RawIOBase | The stream to save the data to. | 
| buffer_size | int | The buffer. | 
save
Saves (copies) the stream’s data to the specified stream. Uses stream StreamContainer.length value.
def save(self, file_path, buffer_size):
    ...
| Parameter | Type | Description | 
|---|---|---|
| file_path | str | The file path to save the stream data to. | 
| buffer_size | int | The buffer size. By default StreamContainer.ReadWriteBytesCountvalue is used. | 
save
Saves (copies) the stream’s data to the specified stream.
def save(self, destination_stream, buffer_size, length):
    ...
| Parameter | Type | Description | 
|---|---|---|
| destination_stream | io.RawIOBase | The stream to save the data to. | 
| buffer_size | int | The buffer size. By default StreamContainer.ReadWriteBytesCountvalue is used. | 
| length | int | The stream data length to copy. By default the length is set to StreamContainer.lengthvalue. | 
save
Saves (copies) the stream’s data to the specified stream.
def save(self, file_path, buffer_size, length):
    ...
| Parameter | Type | Description | 
|---|---|---|
| file_path | str | The file path to save the stream data to. | 
| buffer_size | int | The buffer size. By default StreamContainer.ReadWriteBytesCountvalue is used. | 
| length | int | The stream data length to copy. By default the length is set to StreamContainer.lengthvalue. | 
See Also
- module aspose.cad
- class StreamContainer