Click or drag to resize

NetDataReaderGetUnmanagedT Method

Reads a value of type T from the internal byte buffer at the current position, advancing the position by the size of T.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public T GetUnmanaged<T>()
where T : struct, new()

Type Parameters

T
An unmanaged value type to read from the buffer.

Return Value

T
The value of type T read from the buffer.
Exceptions
ExceptionCondition
IndexOutOfRangeException
See Also