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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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