14 implementations of TryWriteBigEndian
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
366
bool IBinaryInteger<byte>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1336
bool IBinaryInteger<char>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
925
bool IBinaryInteger<Int128>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
454
bool IBinaryInteger<short>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
494
bool IBinaryInteger<int>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
491
bool IBinaryInteger<long>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
524
bool IBinaryInteger<nint>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
431
bool IBinaryInteger<sbyte>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1212
bool IBinaryInteger<UInt128>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
379
bool IBinaryInteger<ushort>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
443
bool IBinaryInteger<uint>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
450
bool IBinaryInteger<ulong>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
455
bool IBinaryInteger<nuint>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3828
bool IBinaryInteger<BigInteger>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
18 references to TryWriteBigEndian
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
553
: value.
TryWriteBigEndian
(buffer, out bytesWritten);
System.Private.CoreLib (16)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
365
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1335
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
924
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
453
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
493
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
490
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
523
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IBinaryInteger.cs (3)
477
if (!
TryWriteBigEndian
(destination, out int bytesWritten))
490
if (!
TryWriteBigEndian
(destination.AsSpan(startIndex), out int bytesWritten))
502
if (!
TryWriteBigEndian
(destination, out int bytesWritten))
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
430
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1211
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
378
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
442
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
449
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
454
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3827
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />