UInt24.TryWriteLittleEndian Method ​
Definition ​
Tries to write the current value, in little-endian format, to a given span.
c#
public bool TryWriteLittleEndian(Span<Byte> destination, out int bytesWritten);Parameters ​
| Name | Type | Description |
|---|---|---|
destination | Span<Byte> | The span to which the current value should be written. |
bytesWritten | Int32 | When this method returns, contains the number of bytes written to destination. |
Returns ​
true if the value was successfully written to destination; otherwise, false.