Click or drag to resize

ValueConverterToUInt16 Method

Reads an UInt16 from the specified buffer starting at the specified startIndex.

Namespace:  SampSharp.Core.Communication
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static ushort ToUInt16(
	byte[] buffer,
	int startIndex
)

Parameters

buffer
Type: SystemByte
The buffer.
startIndex
Type: SystemInt32
The start index.

Return Value

Type: UInt16
The UInt16 read from the specified buffer.
See Also