StreamWrapper Class

Aspose.IO.Stream wrapper for COM interface.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesStreamWrapper

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.5.0.0 (22.5)
Syntax
public class StreamWrapper : IStreamWrapper, 
	IDisposable

The StreamWrapper 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 or sets 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
Disposes object.
Protected methodDispose(Boolean)
Disposes object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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