System.IO.MemoryStream.ReadAsyncImpl C# (CSharp) Méthode

ReadAsyncImpl() private méthode

private ReadAsyncImpl ( Byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer Byte
offset int
count int
cancellationToken CancellationToken
Résultat Task
        private async Task<int> ReadAsyncImpl(Byte[] buffer, int offset, int count, CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();

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