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.278-beta+c828ae22c788d41a5526bfeb0705a559edbc309e
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