Click or drag to resize

NetDataReaderTryGetUShort Method

Attempts to read a UInt16 without throwing an exception.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public bool TryGetUShort(
	out ushort result
)

Parameters

result  UInt16
The deserialized UInt16, or 0 if failed.

Return Value

Boolean
if enough data was available; otherwise, .
See Also