Method TryWriteLittleEndian
- Namespace
- Zyl.VectorTraits.ExTypes
- Assembly
- VectorTraits.dll
TryWriteLittleEndian(Span<byte>, out int)
Tries to write the current value, in little-endian format, to a given span.
public bool TryWriteLittleEndian(Span<byte> destination, out int bytesWritten)
Parameters
destinationSpan<byte>The span to which the current value should be written.
bytesWrittenintWhen this method returns, contains the number of bytes written to
destination.