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