BigEndianGetBytes(UInt16) Method

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

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.182 -- Release Build+f32d10289bdd5c70f6d1fd7945194f372aed6eb3
public static byte[] GetBytes(
	ushort value
)

Parameters

value  UInt16
The number to convert.

Return Value

Byte
An array of bytes with length 2.

See Also