Click or drag to resize

NetDataReaderGetArrayT(UInt16) Method

Reads an array of values by performing a direct memory copy.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public T[] GetArray<T>(
	ushort size
)

Parameters

size  UInt16
The size of a single element in Bytes.

Type Parameters

T
The element type.

Return Value

T
A new array of type T.
See Also