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