ByteIListExtensions.SetUInt64 Method
Overloads
SetUInt64(IList<Byte>, Int32, UInt64)
Writes a little-endian UInt64 to a list of bytes at the specified index.
public static void SetUInt64(this IList<Byte> bytes, int index, ulong value);
View source
Parameters
| Name |
Type |
Description |
| bytes |
IList<Byte> |
|
| index |
Int32 |
The zero-based index to write to. |
| value |
UInt64 |
The value to write. |
SetUInt64(IList<Byte>, Int32, UInt64, Endian)
Writes a UInt64 to a list of bytes at the specified index using the specified endianness.
public static void SetUInt64(this IList<Byte> bytes, int index, ulong value, Endian endian);
View source
Parameters
| Name |
Type |
Description |
| bytes |
IList<Byte> |
|
| index |
Int32 |
The zero-based index to write to. |
| value |
UInt64 |
The value to write. |
| endian |
Endian |
The endianness to use. |