Click or drag to resize

Int24GetBytes(Int24) Method

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

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static byte[] GetBytes(
	Int24 value
)
View Source

Parameters

value  Int24
Int24 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(Int24) function.

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

See Also