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.2.419.0 (24.2.419.0)
Syntax public byte[] GetBytes(
ushort value
)
Public Function GetBytes (
value As UShort
) As Byte()
public:
array<unsigned char>^ GetBytes(
unsigned short value
)
member GetBytes :
value : uint16 -> byte[]
Parameters
- value
- Type: SystemUInt16
The number to convert.
Return Value
Type:
ByteAn array of bytes with length 2.
See Also