ByteListExtensions.SetUInt32 Method
Overloads
SetUInt32(List<Byte>, Int32, UInt32)
Writes a little-endian UInt32 to a List<T> of bytes at the specified index.
public static void SetUInt32(this List<Byte> bytes, int index, uint value);
View source
Parameters
| Name |
Type |
Description |
| bytes |
List<Byte> |
|
| index |
Int32 |
The zero-based index to write to. |
| value |
UInt32 |
The value to write. |
SetUInt32(List<Byte>, Int32, UInt32, Endian)
Writes a UInt32 to a List<T> of bytes at the specified index using the specified endianness.
public static void SetUInt32(this List<Byte> bytes, int index, uint value, Endian endian);
View source
Parameters
| Name |
Type |
Description |
| bytes |
List<Byte> |
|
| index |
Int32 |
The zero-based index to write to. |
| value |
UInt32 |
The value to write. |
| endian |
Endian |
The endianness to use. |