Click or drag to resize

UInt24GetBytes(UInt24) Method

Returns the specified UInt24 value as an array of three bytes.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public static byte[] GetBytes(
	UInt24 value
)
View Source

Parameters

value  UInt24
UInt24 value to convert to bytes.

Return Value

Byte
An array of bytes with length 3.
Remarks

You can use this function in-lieu of a System.BitConverter.GetBytes(UInt24) function.

Bytes will be returned in endian order of currently executing process architecture (little-endian on Intel platforms).

See Also