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