Click or drag to resize

NetDataReaderTryGetBytesWithLength Method

Attempts to read a Byte array with a length header 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 TryGetBytesWithLength(
	out byte[] result
)

Parameters

result  Byte
The deserialized Byte array, or if failed.

Return Value

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