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