EndianBitConverterGetBytes Method (Int16) |
Returns the specified 16-bit signed 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(
short value
)
Public Function GetBytes (
value As Short
) As Byte()
public:
array<unsigned char>^ GetBytes(
short value
)
member GetBytes :
value : int16 -> byte[]
Parameters
- value
- Type: SystemInt16
The number to convert.
Return Value
Type:
ByteAn array of bytes with length 2.
See Also