9 references to TryReadUInt16BigEndian
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\runtime\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
53
if (BinaryPrimitives.
TryReadUInt16BigEndian
(buffer, out ushort serializedShort))
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
53
if (BinaryPrimitives.
TryReadUInt16BigEndian
(buffer, out ushort serializedShort))
Microsoft.Extensions.ServiceDiscovery.Dns (3)
Resolver\DnsPrimitives.cs (3)
276
if (!BinaryPrimitives.
TryReadUInt16BigEndian
(buffer.Span, out priority) ||
277
!BinaryPrimitives.
TryReadUInt16BigEndian
(buffer.Span.Slice(2), out weight) ||
278
!BinaryPrimitives.
TryReadUInt16BigEndian
(buffer.Span.Slice(4), out port) ||
System.Formats.Asn1 (2)
System\Formats\Asn1\AsnDecoder.Integer.cs (1)
409
if (BinaryPrimitives.
TryReadUInt16BigEndian
(contents, out ushort bigEndianValue))
System\Formats\Asn1\AsnWriter.Integer.cs (1)
258
if (BinaryPrimitives.
TryReadUInt16BigEndian
(value, out ushort bigEndianValue))
System.Net.Http (2)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
53
if (BinaryPrimitives.
TryReadUInt16BigEndian
(buffer, out ushort serializedShort))
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
759
if (BinaryPrimitives.
TryReadUInt16BigEndian
(span, out ushort originLength))