-
-
- Class StreamExtensions
-
-
-
-
-
Inheritance
-
-
StreamExtensions
-
-
-
Inherited Members
-
-
-
-
-
-
-
-
-
- Assembly: Net3-Proxy.dll
- Syntax
-
-
public static class StreamExtensions
-
- Methods
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- CopyToAsync(Stream, Stream)
-
-
- Declaration
-
-
[ComVisible(false)]
-[HostProtection(SecurityAction.LinkDemand, ExternalThreading = true)]
-public static Task CopyToAsync(this Stream src, Stream destination)
-
- Parameters
-
-
-
- Type |
- Name |
- Description |
-
-
-
-
- Stream |
- src |
- |
-
-
- Stream |
- destination |
- |
-
-
-
- Returns
-
-
-
- Type |
- Description |
-
-
-
-
- Task |
- |
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- CopyToAsync(Stream, Stream, Int32)
-
-
- Declaration
-
-
[ComVisible(false)]
-[HostProtection(SecurityAction.LinkDemand, ExternalThreading = true)]
-public static Task CopyToAsync(this Stream src, Stream destination, int bufferSize)
-
- Parameters
-
-
-
- Type |
- Name |
- Description |
-
-
-
-
- Stream |
- src |
- |
-
-
- Stream |
- destination |
- |
-
-
- Int32 |
- bufferSize |
- |
-
-
-
- Returns
-
-
-
- Type |
- Description |
-
-
-
-
- Task |
- |
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- CopyToAsync(Stream, Stream, Int32, CancellationToken)
-
-
- Declaration
-
-
[ComVisible(false)]
-[HostProtection(SecurityAction.LinkDemand, ExternalThreading = true)]
-public static Task CopyToAsync(this Stream src, Stream destination, int bufferSize, CancellationToken cancellationToken)
-
- Parameters
-
-
-
- Type |
- Name |
- Description |
-
-
-
-
- Stream |
- src |
- |
-
-
- Stream |
- destination |
- |
-
-
- Int32 |
- bufferSize |
- |
-
-
- CancellationToken |
- cancellationToken |
- |
-
-
-
- Returns
-
-
-
- Type |
- Description |
-
-
-
-
- Task |
- |
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- ReadAsync(Stream, Byte[], Int32, Int32)
-
-
- Declaration
-
-
[ComVisible(false)]
-[HostProtection(SecurityAction.LinkDemand, ExternalThreading = true)]
-public static Task<int> ReadAsync(this Stream src, byte[] buffer, int offset, int count)
-
- Parameters
-
-
-
- Type |
- Name |
- Description |
-
-
-
-
- Stream |
- src |
- |
-
-
- Byte[] |
- buffer |
- |
-
-
- Int32 |
- offset |
- |
-
-
- Int32 |
- count |
- |
-
-
-
- Returns
-
-
-
- Type |
- Description |
-
-
-
-
- Task<Int32> |
- |
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- ReadAsync(Stream, Byte[], Int32, Int32, CancellationToken)
-
-
- Declaration
-
-
[ComVisible(false)]
-[HostProtection(SecurityAction.LinkDemand, ExternalThreading = true)]
-public static Task<int> ReadAsync(this Stream src, byte[] buffer, int offset, int count, CancellationToken cancellationToken)
-
- Parameters
-
-
-
- Type |
- Name |
- Description |
-
-
-
-
- Stream |
- src |
- |
-
-
- Byte[] |
- buffer |
- |
-
-
- Int32 |
- offset |
- |
-
-
- Int32 |
- count |
- |
-
-
- CancellationToken |
- cancellationToken |
- |
-
-
-
- Returns
-
-
-
- Type |
- Description |
-
-
-
-
- Task<Int32> |
- |
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- WriteAsync(Stream, Byte[], Int32, Int32)
-
-
- Declaration
-
-
[ComVisible(false)]
-[HostProtection(SecurityAction.LinkDemand, ExternalThreading = true)]
-public static Task WriteAsync(this Stream src, byte[] buffer, int offset, int count)
-
- Parameters
-
-
-
- Type |
- Name |
- Description |
-
-
-
-
- Stream |
- src |
- |
-
-
- Byte[] |
- buffer |
- |
-
-
- Int32 |
- offset |
- |
-
-
- Int32 |
- count |
- |
-
-
-
- Returns
-
-
-
- Type |
- Description |
-
-
-
-
- Task |
- |
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- WriteAsync(Stream, Byte[], Int32, Int32, CancellationToken)
-
-
- Declaration
-
-
[ComVisible(false)]
-[HostProtection(SecurityAction.LinkDemand, ExternalThreading = true)]
-public static Task WriteAsync(this Stream src, byte[] buffer, int offset, int count, CancellationToken cancellationToken)
-
- Parameters
-
-
-
- Type |
- Name |
- Description |
-
-
-
-
- Stream |
- src |
- |
-
-
- Byte[] |
- buffer |
- |
-
-
- Int32 |
- offset |
- |
-
-
- Int32 |
- count |
- |
-
-
- CancellationToken |
- cancellationToken |
- |
-
-
-
- Returns
-
-
-
- Type |
- Description |
-
-
-
-
- Task |
- |
-
-
-
-