Provides helper methods for the Stream class.
| C# | Visual Basic |
public static class StreamHelper
Public NotInheritable Class StreamHelper
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| CopyTo(Stream, Stream) |
Reads all the bytes from the current stream and writes them to a destination stream.
| |
| CopyTo(Stream, Stream, Int32) |
Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size.
|
| Platforms Supported | |
|---|---|
| Windows Mobile | Pocket PC 2003, Windows Mobile Version 5.0 and later |
| Windows Embedded | Windows CE .NET 4.1 and later |
| Windows Phone | Windows Phone 7 |
| Object | |
| StreamHelper | |