NetDataReaderPeekRemainingBytes Method |
Reads all remaining
Bytes and returns them as a new array without advancing the reader
_position.
Namespace: LiteNetLib.UtilsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic byte[] PeekRemainingBytes()
Return Value
ByteA new
Byte array containing the remaining data.
Remarks
This method performs a heap allocation by copying the data into a new array.
See Also