14 implementations of TryWriteBigEndian
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
366bool IBinaryInteger<byte>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1336bool IBinaryInteger<char>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
925bool IBinaryInteger<Int128>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
454bool IBinaryInteger<short>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
494bool IBinaryInteger<int>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
491bool IBinaryInteger<long>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
524bool IBinaryInteger<nint>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
431bool IBinaryInteger<sbyte>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1212bool IBinaryInteger<UInt128>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
379bool IBinaryInteger<ushort>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
443bool IBinaryInteger<uint>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
450bool IBinaryInteger<ulong>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
455bool IBinaryInteger<nuint>.TryWriteBigEndian(Span<byte> destination, out int bytesWritten)
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3828bool 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)
477if (!TryWriteBigEndian(destination, out int bytesWritten)) 490if (!TryWriteBigEndian(destination.AsSpan(startIndex), out int bytesWritten)) 502if (!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)" />