Click or drag to resize

EndianBitConverterGetBytes Method (UInt16)

Returns the specified 16-bit unsigned integer value as an array of bytes.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public byte[] GetBytes(
	ushort value
)

Parameters

value
Type: SystemUInt16
The number to convert.

Return Value

Type: Byte
An array of bytes with length 2.
See Also