NetDataWriterAsReadOnlySpan Method |
Returns a
ReadOnlySpanT representing the currently used portion of the internal buffer.
Namespace: LiteNetLib.UtilsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
Remarks
Provides a high-performance, zero-allocation view of the data.
The span becomes invalid if the internal buffer is resized or if
_position changes.
See Also