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.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
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