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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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