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