ByteSpanExtensions.SetUInt64 Method ​
Overloads ​
| Name | Description |
|---|---|
SetUInt64(Span<Byte>, UInt64) | Writes a little-endian UInt64 to a span of bytes. |
SetUInt64(Span<Byte>, UInt64, Endian) | Writes a UInt64 to a span of bytes using the specified endianness. |
SetUInt64(Span<Byte>, UInt64) ​
Writes a little-endian UInt64 to a span of bytes.
c#
public static void SetUInt64(this Span<Byte> bytes, ulong value);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | Span<Byte> | |
value | UInt64 | The value to write. |
SetUInt64(Span<Byte>, UInt64, Endian) ​
Writes a UInt64 to a span of bytes using the specified endianness.
c#
public static void SetUInt64(this Span<Byte> bytes, ulong value, Endian endian);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | Span<Byte> | |
value | UInt64 | The value to write. |
endian | Endian | The endianness to use. |