Skip to content

ByteIListExtensions.SetUInt32 Method ​

Overloads ​

NameDescription
SetUInt32(IList<Byte>, Int32, UInt32)Writes a little-endian UInt32 to a list of bytes at the specified index.
SetUInt32(IList<Byte>, Int32, UInt32, Endian)Writes a UInt32 to a list of bytes at the specified index using the specified endianness.

SetUInt32(IList<Byte>, Int32, UInt32) ​

Writes a little-endian UInt32 to a list of bytes at the specified index.

c#
public static void SetUInt32(this IList<Byte> bytes, int index, uint value);

View source

Parameters ​

NameTypeDescription
bytesIList<Byte>
indexInt32The zero-based index to write to.
valueUInt32The 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.

c#
public static void SetUInt32(this IList<Byte> bytes, int index, uint value, Endian endian);

View source

Parameters ​

NameTypeDescription
bytesIList<Byte>
indexInt32The zero-based index to write to.
valueUInt32The value to write.
endianEndianThe endianness to use.