14 implementations of TryReadLittleEndian
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
327
static bool IBinaryInteger<byte>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out byte value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1289
static bool IBinaryInteger<char>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out char value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
829
static bool IBinaryInteger<Int128>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out Int128 value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
370
static bool IBinaryInteger<short>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out short value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
398
static bool IBinaryInteger<int>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out int value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
395
static bool IBinaryInteger<long>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
428
static bool IBinaryInteger<nint>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out nint value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
360
static bool IBinaryInteger<sbyte>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out sbyte value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1152
static bool IBinaryInteger<UInt128>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out UInt128 value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
332
static bool IBinaryInteger<ushort>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out ushort value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
386
static bool IBinaryInteger<uint>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out uint value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
393
static bool IBinaryInteger<ulong>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out ulong value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
398
static bool IBinaryInteger<nuint>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out nuint value)
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3781
static bool IBinaryInteger<BigInteger>.
TryReadLittleEndian
(ReadOnlySpan<byte> source, bool isUnsigned, out BigInteger value)
19 references to TryReadLittleEndian
Microsoft.Diagnostics.DataContractReader (2)
ContractDescriptorTarget.cs (2)
516
? T.
TryReadLittleEndian
(buffer, !IsSigned<T>(), out value)
568
T.
TryReadLittleEndian
(bytes, !IsSigned<T>(), out value);
System.Private.CoreLib (16)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
326
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1288
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
828
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
369
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
397
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
394
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
427
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IBinaryInteger.cs (3)
367
if (!TSelf.
TryReadLittleEndian
(source, isUnsigned, out TSelf value))
382
if (!TSelf.
TryReadLittleEndian
(source.AsSpan(startIndex), isUnsigned, out TSelf value))
396
if (!TSelf.
TryReadLittleEndian
(source, isUnsigned, out TSelf value))
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
359
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1151
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
331
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
385
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
392
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
397
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3780
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryReadLittleEndian
(ReadOnlySpan{byte}, bool, out TSelf)" />