WrappingStream Class | 
Namespace: Ptv.XServer.Controls.Map.Tools
The WrappingStream type exposes the following members.
| Name | Description | |
|---|---|---|
| WrappingStream | 
            Initializes a new instance of the WrappingStream class.
              | 
| Name | Description | |
|---|---|---|
| CanRead | 
            Gets a value indicating whether the current stream supports reading.
              (Overrides StreamCanRead.) | |
| CanSeek | 
            Gets a value indicating whether the current stream supports seeking.
              (Overrides StreamCanSeek.) | |
| CanWrite | 
            Gets a value indicating whether the current stream supports writing.
              (Overrides StreamCanWrite.) | |
| Length | 
            Gets the length in bytes of the stream.
              (Overrides StreamLength.) | |
| Position | 
            Gets or sets the position within the current stream.
              (Overrides StreamPosition.) | |
| WrappedStream | 
            Gets the wrapped stream.
              | 
| Name | Description | |
|---|---|---|
| BeginRead | 
            Begins an asynchronous read operation.
              (Overrides StreamBeginRead(Byte, Int32, Int32, AsyncCallback, Object).) | |
| BeginWrite | 
            Begins an asynchronous write operation.
              (Overrides StreamBeginWrite(Byte, Int32, Int32, AsyncCallback, Object).) | |
| Dispose | 
            Releases the unmanaged resources used by the WrappingStream and optionally releases the managed resources.
              (Overrides StreamDispose(Boolean).) | |
| EndRead | 
            Waits for the pending asynchronous read to complete.
              (Overrides StreamEndRead(IAsyncResult).) | |
| EndWrite | 
            Ends an asynchronous write operation.
              (Overrides StreamEndWrite(IAsyncResult).) | |
| Flush | 
            Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
              (Overrides StreamFlush.) | |
| Read | 
            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).) | |
| 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.
              (Overrides StreamReadByte.) | |
| Seek | 
            Sets the position within the current stream.
              (Overrides StreamSeek(Int64, SeekOrigin).) | |
| SetLength | 
            Sets the length of the current stream.
              (Overrides StreamSetLength(Int64).) | |
| Write | 
            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).) | |
| WriteByte | 
            Writes a byte to the current position in the stream and advances the position within the stream by one byte.
              (Overrides StreamWriteByte(Byte).) | 
| Name | Description | |
|---|---|---|
| CopyTo |  Byte wise copy of a stream.   (Defined by StreamExtensions.) | |
| GetBytes | 
            Reads and returns the bytes from the given stream.
              (Defined by StreamExtensions.) | |
| Reset | 
            Sets the position of a stream to the beginning and returns the stream.
              (Defined by WmtsMapServiceExtensions.) | |
| ResizeImage | 
            Resizes an image to a specific size.
              (Defined by ImageExtensions.) | |
| ToJson |  Converts an object to a JSON string representation.   (Defined by JSONWriter.) | |
| Write | 
            Write all the bytes given in the byte array.
              (Defined by ArgbImageExtensions.) |