IStreamWrapper class
Contents
[
Hide
]IStreamWrapper class
Aspose.IO.Stream wrapper for COM interface.
The IStreamWrapper type exposes the following members:
Properties
Property | Description |
---|---|
stream | Gets a stream. Read-only io.RawIOBase. |
can_read | Gets a value indicating whether the current stream supports reading. Read-only bool. |
can_seek | Gets a value indicating whether the current stream supports seeking. Read-only bool. |
can_write | Gets a value indicating whether the current stream supports writing. Read-only bool. |
length | Gets the length in bytes of the stream. Read-only int. |
position | Gets the position within the current stream. Read-only int. |
Methods
Method | Description |
---|---|
close | Closes the current stream and releases any resources. |
flush | Clears all buffers for this stream and causes any buffered data to be written to the underlying device. |
read | Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. |
read_byte | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. |
seek | Sets the position within the current stream |
write | writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. |
write_byte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. |
See Also
- module
aspose.slides
- library
Aspose.Slides