Click or drag to resize

BinaryValueBaseTEndianOrderToUInt16 Method

Returns a 16-bit unsigned integer, accounting for EndianOrder, converted from the Buffer.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.286-beta+af3877f0fd6bd9f0ab0bb09de528343468ffe7d4
Syntax
public ushort ToUInt16()
View Source

Return Value

UInt16
A 16-bit unsigned integer, accounting for EndianOrder, converted from the Buffer.
Exceptions
ExceptionCondition
InvalidOperationExceptionBinary value buffer is too small to represent requested type.
See Also