12 implementations of TryWriteBigEndian
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
369
bool IBinaryInteger<byte>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1282
bool IBinaryInteger<char>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
466
bool IBinaryInteger<short>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
505
bool IBinaryInteger<int>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
502
bool IBinaryInteger<long>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
507
bool IBinaryInteger<nint>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
427
bool IBinaryInteger<sbyte>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
398
bool IBinaryInteger<ushort>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
436
bool IBinaryInteger<uint>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
435
bool IBinaryInteger<ulong>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
439
bool IBinaryInteger<nuint>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3634
bool IBinaryInteger<BigInteger>.
TryWriteBigEndian
(Span<byte> destination, out int bytesWritten)
15 references to TryWriteBigEndian
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
368
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1281
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
465
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
504
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
501
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
506
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Numerics\IBinaryInteger.cs (3)
208
if (!
TryWriteBigEndian
(destination, out int bytesWritten))
221
if (!
TryWriteBigEndian
(destination.AsSpan(startIndex), out int bytesWritten))
233
if (!
TryWriteBigEndian
(destination, out int bytesWritten))
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
426
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
397
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
435
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
434
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
438
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3633
/// <inheritdoc cref="IBinaryInteger{TSelf}.
TryWriteBigEndian
(Span{byte}, out int)" />