14 implementations of TryReadBigEndian
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
294
static bool IBinaryInteger<byte>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out byte value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1248
static bool IBinaryInteger<char>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out char value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
756
static bool IBinaryInteger<Int128>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out Int128 value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
304
static bool IBinaryInteger<short>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out short value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
325
static bool IBinaryInteger<int>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out int value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
322
static bool IBinaryInteger<long>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
355
static bool IBinaryInteger<nint>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out nint value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
307
static bool IBinaryInteger<sbyte>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out sbyte value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1104
static bool IBinaryInteger<UInt128>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out UInt128 value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
291
static bool IBinaryInteger<ushort>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out ushort value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
338
static bool IBinaryInteger<uint>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out uint value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
345
static bool IBinaryInteger<ulong>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out ulong value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
350
static bool IBinaryInteger<nuint>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out nuint value)
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3774
static bool IBinaryInteger<BigInteger>.
TryReadBigEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out BigInteger value)
19 references to TryReadBigEndian
Microsoft.Diagnostics.DataContractReader (2)
ContractDescriptorTarget.cs (2)
517
: T.
TryReadBigEndian
(buffer, !IsSigned<T>(), out value);
572
T.
TryReadBigEndian
(bytes, !IsSigned<T>(), out value);
System.Private.CoreLib (16)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
293
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1247
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
755
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
303
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
324
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
321
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
354
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IBinaryInteger.cs (3)
324
if (!TSelf.
TryReadBigEndian
(source, isUnsigned, out TSelf value))
339
if (!TSelf.
TryReadBigEndian
(source.AsSpan(startIndex), isUnsigned, out TSelf value))
353
if (!TSelf.
TryReadBigEndian
(source, isUnsigned, out TSelf value))
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
306
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1103
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
290
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
337
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
344
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
349
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3773
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadBigEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />