Click or drag to resize

WrappingStream Methods

The WrappingStream type exposes the following members.

Methods
  NameDescription
Public methodBeginRead
Begins an asynchronous read operation.
(Overrides StreamBeginRead(Byte, Int32, Int32, AsyncCallback, Object).)
Public methodBeginWrite
Begins an asynchronous write operation.
(Overrides StreamBeginWrite(Byte, Int32, Int32, AsyncCallback, Object).)
Protected methodDispose
Releases the unmanaged resources used by the WrappingStream and optionally releases the managed resources.
(Overrides StreamDispose(Boolean).)
Public methodEndRead
Waits for the pending asynchronous read to complete.
(Overrides StreamEndRead(IAsyncResult).)
Public methodEndWrite
Ends an asynchronous write operation.
(Overrides StreamEndWrite(IAsyncResult).)
Public methodFlush
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides StreamFlush.)
Public methodRead
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32).)
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.
(Overrides StreamReadByte.)
Public methodSeek
Sets the position within the current stream.
(Overrides StreamSeek(Int64, SeekOrigin).)
Public methodSetLength
Sets the length of the current stream.
(Overrides StreamSetLength(Int64).)
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.
(Overrides StreamWrite(Byte, Int32, Int32).)
Public methodWriteByte
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Overrides StreamWriteByte(Byte).)
Top
Extension Methods
  NameDescription
Public Extension MethodCopyTo
Byte wise copy of a stream.
(Defined by StreamExtensions.)
Public Extension MethodGetBytes
Reads and returns the bytes from the given stream.
(Defined by StreamExtensions.)
Public Extension MethodReset
Sets the position of a stream to the beginning and returns the stream.
(Defined by WmtsMapServiceExtensions.)
Public Extension MethodResizeImage
Resizes an image to a specific size.
(Defined by ImageExtensions.)
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Public Extension MethodWrite
Write all the bytes given in the byte array.
(Defined by ArgbImageExtensions.)
Top
See Also