10 references to TryWrite
Microsoft.AspNetCore.Shared.Tests (10)
runtime\Http3\VariableLengthIntegerHelperTests.cs (8)
253bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 267bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 283bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 296bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 311bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 324bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 339bool isSuccess = VariableLengthIntegerHelper.TryWrite(span, 352bool 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);