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.UtilsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic T GetUnmanaged<T>()
where T : struct, new()
Type Parameters
- T
- An unmanaged value type to read from the buffer.
Return Value
TThe value of type
T read from the buffer.
Exceptions
See Also