Skip to content

Merging internal commits for release/8.0 #106356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 changes: 5 additions & 0 deletions src/libraries/Common/src/System/Net/TlsStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ public override Task WriteAsync(byte[] buffer, int offset, int count, Cancellati
return _sslStream.WriteAsync(buffer, offset, count, cancellationToken);
}

public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = default(CancellationToken))
{
return _sslStream.WriteAsync(buffer, cancellationToken);
}

public override int Read(byte[] buffer, int offset, int size)
{
return _sslStream.Read(buffer, offset, size);
Expand Down
Loading