StreamContainer Class |
Namespace: Aspose.PSD
The StreamContainer type exposes the following members.
Name | Description | |
---|---|---|
![]() | StreamContainer(Stream) |
Initializes a new instance of the StreamContainer class.
|
![]() | StreamContainer(Stream, Boolean) |
Initializes a new instance of the StreamContainer class.
|
Name | Description | |
---|---|---|
![]() | CanRead |
Gets a value indicating whether stream supports reading.
|
![]() | CanSeek |
Gets a value indicating whether stream supports seeking.
|
![]() | CanWrite |
Gets a value indicating whether stream supports writing.
|
![]() | Disposed |
Gets a value indicating whether this instance is disposed.
(Inherited from DisposableObject.) |
![]() | IsStreamDisposedOnClose |
Gets a value indicating whether this stream is disposed on close.
|
![]() | Length |
Gets or sets the stream length in bytes. This value is less than the Length by the starting stream position passed in the StreamContainer constructor.
|
![]() | Position |
Gets or sets the current position within the stream. This value represents offset from the starting stream position passed in the StreamContainer constructor.
|
![]() | Stream |
Gets the data stream.
|
![]() | SyncRoot |
Gets an object that can be used to synchronize access to the synchronized resource.
|
Name | Description | |
---|---|---|
![]() | AfterStreamDisposed |
Called after the stream is disposed.
|
![]() | BeforeSave |
Called before save occurs on the destination stream.
|
![]() | BeforeStreamDisposed |
Called before the stream is disposed.
|
![]() | Dispose |
Disposes the current instance.
(Inherited from DisposableObject.) |
![]() | DisposeStream |
Disposes the stream.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Read(Byte) |
Reads bytes to fill the specified bytes buffer.
|
![]() | Read(Byte, Int32, Int32) |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
|
![]() | ReadByte |
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.
|
![]() | ReleaseManagedResources |
Releases the managed resources. Make sure no unmanaged resources are released here, since they may have been already released.
(Overrides DisposableObjectReleaseManagedResources.) |
![]() | ReleaseUnmanagedResources |
Releases the unmanaged resources. Make sure no managed resources are released here, since they may have been already released.
(Inherited from DisposableObject.) |
![]() | Save(Stream) |
Saves (copies) the stream's data to the specified stream. Uses default buffer size ReadWriteBytesCount and stream Length value.
|
![]() | Save(String) |
Saves (copies) the stream's data to the specified stream. Uses default buffer size ReadWriteBytesCount and stream Length value.
|
![]() | Save(Stream, Int32) |
Saves (copies) all the stream's data to the specified stream. Uses stream Length value.
|
![]() | Save(String, Int32) |
Saves (copies) the stream's data to the specified stream. Uses stream Length value.
|
![]() | Save(Stream, Int32, Int64) |
Saves (copies) the stream's data to the specified stream.
|
![]() | Save(String, Int32, Int64) |
Saves (copies) the stream's data to the specified stream.
|
![]() | Seek |
Sets the position within the current stream.
|
![]() | SeekBegin |
Sets the stream position to the beginning of the stream. This value represents offset from the starting stream position passed in the StreamContainer constructor.
|
![]() | ToBytes |
Converts the stream data to the Byte array.
|
![]() | ToBytes(Int64, Int64) |
Converts the stream data to the Byte array.
|
![]() | ToString | (Inherited from Object.) |
![]() | VerifyNotDisposed |
Verifies that the current instance is not disposed.
(Inherited from DisposableObject.) |
![]() | Write(Byte) |
Writes all of the specified bytes to the stream.
|
![]() | Write(Byte, Int32, Int32) |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
|
![]() | WriteByte |
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
|
![]() | WriteTo(StreamContainer) |
Copies the contained data to another StreamContainer.
|
![]() | WriteTo(StreamContainer, Int64) |
Copies the contained data to another StreamContainer.
|
Name | Description | |
---|---|---|
![]() ![]() | (StreamContainer to Stream) |
Performs an explicit conversion from StreamContainer to Stream.
|
Name | Description | |
---|---|---|
![]() ![]() | ReadWriteBytesCount |
Specifies read and write bytes count when reading sequentially.
|
![]() | StartPosition |
The starting position inside the stream.
|