NetDataReaderTryGetShort Method |
Attempts to read a
Int16 without throwing an exception.
Namespace: LiteNetLib.UtilsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic bool TryGetShort(
out short result
)
Parameters
- result Int16
- The deserialized Int16, or 0 if failed.
Return Value
Boolean if enough data was available; otherwise,
.
See Also