10 references to TryWrite
Microsoft.AspNetCore.Shared.Tests (10)
runtime\Http3\VariableLengthIntegerHelperTests.cs (8)
254bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 268bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 284bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 297bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 312bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 325bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 340bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 353bool isSuccess = VariableLengthIntegerHelper.TryWrite(span,
src\Shared\runtime\Http3\Frames\Http3Frame.cs (1)
50if (VariableLengthIntegerHelper.TryWrite(buffer, payloadLength, out int payloadLengthEncodedLength))
src\Shared\runtime\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
192bool res = TryWrite(buffer, longToEncode, out int bytesWritten);