System.IO.MemoryStream.WriteAsyncImpl C# (CSharp) Method

WriteAsyncImpl() private method

private WriteAsyncImpl ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
return Task
        private async Task WriteAsyncImpl(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();

            Write(buffer, offset, count);
        }
#pragma warning restore 1998