IStreamWrapper Interface

Aspose.IO.Stream wrapper for COM interface.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public interface IStreamWrapper : IDisposable

The IStreamWrapper type exposes the following members.

Properties
  NameDescription
Public propertyAsIDisposable
Allows to get base IDisposable interface. Read-only IDisposable.
Public propertyCanRead
Gets a value indicating whether the current stream supports reading. Read-only Boolean.
Public propertyCanSeek
Gets a value indicating whether the current stream supports seeking. Read-only Boolean.
Public propertyCanWrite
Gets a value indicating whether the current stream supports writing. Read-only Boolean.
Public propertyLength
Gets the length in bytes of the stream. Read-only Int64.
Public propertyPosition
Gets the position within the current stream. Read-only Int64.
Public propertyStream
Gets a stream. Read-only Stream.
Methods
  NameDescription
Public methodClose
Closes the current stream and releases any resources.
Public methodDispose (Inherited from IDisposable.)
Public methodFlush
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
Public methodRead
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
Public methodReadByte
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.
Public methodSeek
Sets the position within the current stream
Public methodWrite
writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
Public methodWriteByte
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
See Also