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

ReadAsyncImpl() private method

private ReadAsyncImpl ( Byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer Byte
offset int
count int
cancellationToken CancellationToken
return 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