SeekableStreamWriteAsync(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.
Пространство имён: Tessa.Platform.IOСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public override Task WriteAsync(
byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken
)
Public Overrides Function WriteAsync (
buffer As Byte(),
offset As Integer,
count As Integer,
cancellationToken As CancellationToken
) As Task
public:
virtual Task^ WriteAsync(
array<unsigned char>^ buffer,
int offset,
int count,
CancellationToken cancellationToken
) override
abstract WriteAsync :
buffer : byte[] *
offset : int *
count : int *
cancellationToken : CancellationToken -> Task
override WriteAsync :
buffer : byte[] *
offset : int *
count : int *
cancellationToken : CancellationToken -> Task
- buffer Byte
- The buffer to write data from.
- offset Int32
- The zero-based byte offset in buffer from which to begin copying bytes to the stream.
- count Int32
- The maximum number of bytes to write.
- cancellationToken CancellationToken
- The token to monitor for cancellation requests. The default value is None.
TaskA task that represents the asynchronous write operation.