ByteSpanExtensions.SetInt64 Method
Overloads
SetInt64(Span<Byte>, Int64)
Writes a little-endian Int64 to a span of bytes.
public static void SetInt64(this Span<Byte> bytes, long value);
View source
Parameters
SetInt64(Span<Byte>, Int64, Endian)
Writes a Int64 to a span of bytes using the specified endianness.
public static void SetInt64(this Span<Byte> bytes, long value, Endian endian);
View source
Parameters
| Name |
Type |
Description |
| bytes |
Span<Byte> |
|
| value |
Int64 |
The value to write. |
| endian |
Endian |
The endianness to use. |