12 implementations of TryWriteLittleEndian
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
387bool IBinaryInteger<byte>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1295bool IBinaryInteger<char>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
479bool IBinaryInteger<short>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
518bool IBinaryInteger<int>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
515bool IBinaryInteger<long>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
520bool IBinaryInteger<nint>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
441bool IBinaryInteger<sbyte>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
411bool IBinaryInteger<ushort>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
449bool IBinaryInteger<uint>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
448bool IBinaryInteger<ulong>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
452bool IBinaryInteger<nuint>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3736bool IBinaryInteger<BigInteger>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
17 references to TryWriteLittleEndian
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
386/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1294/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
478/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
517/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
514/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
519/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\Numerics\IBinaryInteger.cs (5)
183/// <summary>Gets the number of bytes that will be written as part of <see cref="TryWriteLittleEndian(Span{byte}, out int)" />.</summary> 184/// <returns>The number of bytes that will be written as part of <see cref="TryWriteLittleEndian(Span{byte}, out int)" />.</returns> 245if (!TryWriteLittleEndian(destination, out int bytesWritten)) 258if (!TryWriteLittleEndian(destination.AsSpan(startIndex), out int bytesWritten)) 270if (!TryWriteLittleEndian(destination, out int bytesWritten))
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
440/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
410/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
448/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
447/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
451/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3735/// <inheritdoc cref="IBinaryInteger{TSelf}.TryWriteLittleEndian(Span{byte}, out int)" />