|  | ChunkedStream Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Cimbalino.Toolkit.Helpers
 Syntax
Syntaxpublic class ChunkedStream : Stream
The ChunkedStream type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ChunkedStream | 
            Initializes a new instance of the ChunkedStream class.
             | 
 Properties
Properties| 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.) | 
|  | CanTimeout | Gets a value that determines whether the current stream can time out.(Inherited from Stream.) | 
|  | CanWrite | 
            Gets a value indicating whether the current stream supports writing.
            (Overrides StreamCanWrite.) | 
|  | Length | 
            This property is not supported.
            (Overrides StreamLength.) | 
|  | Position | 
            This property is not supported.
            (Overrides StreamPosition.) | 
|  | ReadTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.) | 
|  | WriteTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | BeginRead | (Inherited from Stream.) | 
|  | BeginWrite | (Inherited from Stream.) | 
|  | Close | (Inherited from Stream.) | 
|  | CopyTo(Stream) | Reads the bytes from the current stream and writes them to another stream.(Inherited from Stream.) | 
|  | CopyTo(Stream, Int32) | Reads the bytes from the current stream and writes them to another stream, using a specified buffer size.(Inherited from Stream.) | 
|  | CopyToAsync(Stream) | Asynchronously reads the bytes from the current stream and writes them to another stream.(Inherited from Stream.) | 
|  | CopyToAsync(Stream, Int32) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size.(Inherited from Stream.) | 
|  | CopyToAsync(Stream, Int32, CancellationToken) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token.(Inherited from Stream.) | 
|  | Dispose | Releases all resources used by the Stream.(Inherited from Stream.) | 
|  | Dispose(Boolean) | 
            Closes the current stream and releases all resources.
            (Overrides StreamDispose(Boolean).) | 
|  | EndRead | (Inherited from Stream.) | 
|  | EndWrite | (Inherited from Stream.) | 
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | Flush | 
            Overrides Flush so that no action is performed.
            (Overrides StreamFlush.) | 
|  | FlushAsync | Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device.(Inherited from Stream.) | 
|  | FlushAsync(CancellationToken) | Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.(Inherited from Stream.) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | Read | 
            This method is not supported.
            (Overrides StreamRead(Byte, Int32, Int32).) | 
|  | ReadAsync(Byte, Int32, Int32) | Asynchronously reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.(Inherited from Stream.) | 
|  | ReadAsync(Byte, Int32, Int32, CancellationToken) | Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.(Inherited from Stream.) | 
|  | 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.(Inherited from Stream.) | 
|  | Seek | 
            This method is not supported.
            (Overrides StreamSeek(Int64, SeekOrigin).) | 
|  | SetLength | 
            This method is not supported.
            (Overrides StreamSetLength(Int64).) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
|  | Write | 
            Writes a block of bytes to the current stream using data read from a buffer.
            (Overrides StreamWrite(Byte, Int32, Int32).) | 
|  | WriteAsync(Byte, Int32, Int32) | Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.(Inherited from Stream.) | 
|  | WriteAsync(Byte, Int32, Int32, CancellationToken) | Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.(Inherited from Stream.) | 
|  | WriteByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte.(Inherited from Stream.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | AddEventHandler | 
            Adds an event handler to an event source.
            (Defined by ObjectExtensions.) | 
|  | ComputeHMACSHA1Hash | 
            Computes the HMACSHA1 hash for the current byte array.
            (Defined by StreamExtensions.) | 
|  | ComputeHMACSHA256Hash | 
            Computes the SHA256 hash for the current byte array.
            (Defined by StreamExtensions.) | 
|  | ComputeMD5Hash | 
            Computes the MD5 hash for the current byte array.
            (Defined by StreamExtensions.) | 
|  | ComputeSHA1Hash | 
            Computes the SHA1 hash for the current byte array.
            (Defined by StreamExtensions.) | 
|  | ComputeSHA256Hash | 
            Computes the SHA256 hash for the current byte array.
            (Defined by StreamExtensions.) | 
|  | GetPropertyValue(String) | Overloaded. 
            Searches for the public property with the specified name and gets its value.
            (Defined by ObjectExtensions.) | 
|  | GetPropertyValueTObject(String) | Overloaded. 
            Searches for the public property with the specified name and gets its value.
            (Defined by ObjectExtensions.) | 
|  | InvokeMethod(String, Object) | Overloaded. 
            Searches for the public method with the specified name and invokes it using the specified parameters.
            (Defined by ObjectExtensions.) | 
|  | InvokeMethodTObject(String, Object) | Overloaded. 
            Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
            (Defined by ObjectExtensions.) | 
|  | RemoveEventHandler | 
            Removes an event handler from an event source.
            (Defined by ObjectExtensions.) | 
|  | SetPropertyValueTObject | 
            Searches for the public property with the specified name and sets its value.
            (Defined by ObjectExtensions.) | 
|  | ToArray | 
            Writes the stream contents to a byte array.
            (Defined by StreamExtensions.) | 
|  | ToArrayAsync | 
            Writes the stream contents to a byte array.
            (Defined by StreamExtensions.) | 
 Version Information
Version Information See Also
See Also