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.304-beta+e40582bbb64c28edadb696048770577c4e325275
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