Click or drag to resize

NetDataReaderPeekString(Int32) Method

Reads a String with a character limit without advancing the Position.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public string PeekString(
	int maxLength
)

Parameters

maxLength  Int32
Maximum allowed character count.

Return Value

String
Remarks
Strings exceeding maxLength are returned as Empty.
See Also