Interface ICustomStreamWriter
A concrete implementation of this interface is required when calling CopyStream.
Namespace: StreamExtended.Network
Assembly: StreamExtended.dll
Syntax
public interface ICustomStreamWriter
Methods
Write(Byte[], Int32, Int32)
Declaration
void Write(byte[] buffer, int i, int bufferLength)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | |
Int32 | i | |
Int32 | bufferLength |
WriteAsync(Byte[], Int32, Int32, CancellationToken)
Declaration
Task WriteAsync(byte[] buffer, int i, int bufferLength, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | |
Int32 | i | |
Int32 | bufferLength | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |