Click or drag to resize

NetDataReaderPeekRemainingBytesSpan Method

Returns a ReadOnlySpanT of Bytes containing all remaining data without advancing the reader _position.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public ReadOnlySpan<byte> PeekRemainingBytesSpan()

Return Value

ReadOnlySpanByte
A ReadOnlySpanT from the current Position to the end of the buffer.
See Also