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.260-beta+13787b6b78c2a05e0f5d0ff4ef1e17ab745e4b5e
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