Skip to content

IOFileComponent.GetUInt16 Method ​

Definition ​

Gets a 16-bit unsigned integer at the specified index.

c#
protected ushort GetUInt16(int index, Endian endian = Endian.MrKWatkins.BinaryPrimitives.Endian);

View source

Parameters ​

NameTypeDescription
indexInt32The index of the word.
endianEndianThe byte order.

Returns ​

UInt16

The word value.