ByteSpanExtensions.SetUInt24 Method ​
Overloads ​
| Name | Description |
|---|---|
SetUInt24(Span<Byte>, UInt24) | Writes a little-endian UInt24 to a span of bytes. |
SetUInt24(Span<Byte>, UInt24, Endian) | Writes a UInt24 to a span of bytes using the specified endianness. |
SetUInt24(Span<Byte>, UInt24) ​
Writes a little-endian UInt24 to a span of bytes.
c#
public static void SetUInt24(this Span<Byte> bytes, UInt24 value);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | Span<Byte> | |
value | UInt24 | The UInt24 value to write. |
SetUInt24(Span<Byte>, UInt24, Endian) ​
Writes a UInt24 to a span of bytes using the specified endianness.
c#
public static void SetUInt24(this Span<Byte> bytes, UInt24 value, Endian endian);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | Span<Byte> | |
value | UInt24 | The UInt24 value to write. |
endian | Endian | The endianness to use. |