Skip to content

ByteIListExtensions.GetUInt32 Method

Overloads

Name Description
GetUInt32(IList<Byte>, Int32) Reads a little-endian UInt32 from a list of bytes at the specified index.
GetUInt32(IList<Byte>, Int32, Endian) Reads a UInt32 from a list of bytes at the specified index using the specified endianness.

GetUInt32(IList<Byte>, Int32)

Reads a little-endian UInt32 from a list of bytes at the specified index.

public static uint GetUInt32(this IList<Byte> bytes, int index);

View source

Parameters

Name Type Description
bytes IList<Byte>
index Int32 The zero-based index to read from.

Returns

UInt32

The UInt32 value.

GetUInt32(IList<Byte>, Int32, Endian)

Reads a UInt32 from a list of bytes at the specified index using the specified endianness.

public static uint GetUInt32(this IList<Byte> bytes, int index, Endian endian);

View source

Parameters

Name Type Description
bytes IList<Byte>
index Int32 The zero-based index to read from.
endian Endian The endianness to use.

Returns

UInt32

The UInt32 value.