ByteArrayExtensions.GetUInt24 Method ​
Overloads ​
| Name | Description |
|---|---|
GetUInt24(Byte[], Int32) | Reads a little-endian UInt24 from a byte array at the specified index. |
GetUInt24(Byte[], Int32, Endian) | Reads a UInt24 from a byte array at the specified index using the specified endianness. |
GetUInt24(Byte[], Int32) ​
Reads a little-endian UInt24 from a byte array at the specified index.
c#
public static UInt24 GetUInt24(this Byte[] bytes, int index);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | Byte[] | |
index | Int32 | The zero-based index to read from. |
Returns ​
The UInt24 value.
GetUInt24(Byte[], Int32, Endian) ​
Reads a UInt24 from a byte array at the specified index using the specified endianness.
c#
public static UInt24 GetUInt24(this Byte[] bytes, int index, Endian endian);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | Byte[] | |
index | Int32 | The zero-based index to read from. |
endian | Endian | The endianness to use. |
Returns ​
The UInt24 value.