ByteListExtensions.GetUInt32 Method ​
Overloads ​
| Name | Description |
|---|---|
GetUInt32(List<Byte>, Int32) | Reads a little-endian UInt32 from a List<T> of bytes at the specified index. |
GetUInt32(List<Byte>, Int32, Endian) | Reads a UInt32 from a List<T> of bytes at the specified index using the specified endianness. |
GetUInt32(List<Byte>, Int32) ​
Reads a little-endian UInt32 from a List<T> of bytes at the specified index.
c#
public static uint GetUInt32(this List<Byte> bytes, int index);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | List<Byte> | |
index | Int32 | The zero-based index to read from. |
Returns ​
The UInt32 value.
GetUInt32(List<Byte>, Int32, Endian) ​
Reads a UInt32 from a List<T> of bytes at the specified index using the specified endianness.
c#
public static uint GetUInt32(this List<Byte> bytes, int index, Endian endian);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | List<Byte> | |
index | Int32 | The zero-based index to read from. |
endian | Endian | The endianness to use. |
Returns ​
The UInt32 value.