NeoAxis Documentation
NeoAxis Documentation
API Reference
LiteNetLib.Utils
NetDataWriter Class
NetDataWriter Methods
AsReadOnlySpan Method
CopyData Method
EnsureFit Method
FromBytes Method
FromString Method
Put Method
PutArray Method
PutBytesWithLength Method
PutEnum<T> Method
PutLargeString Method
PutNullableUnmanaged<T> Method
PutSBytesWithLength Method
PutSpan<T> Method
PutUnmanaged<T> Method
PutUnmanagedArray<T> Method
Reset Method
ResizeIfNeed Method
SetPosition Method
Net
Data
Writer
Copy
Data Method
Creates a
Byte
array containing the current data from the internal buffer.
Namespace:
LiteNetLib.Utils
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
Copy
public
byte
[]
CopyData
()
Return Value
Byte
A new
Byte
array of length
_position.
Remarks
This method performs a heap allocation and copies the data using
BlockCopy(Array, Int32, Array, Int32, Int32).
See Also
Reference
NetDataWriter Class
LiteNetLib.Utils Namespace
Translate by Google:
Amharic
Arabic
Bengali
Burmese
Chinese
Dutch
French
German
Hindi
Indonesian
Italian
Japanese
Javanese
Korean
Malay
Nepali
Oriya
Pashto
Polish
Portuguese
Punjabi
Russian
Sindhi
Sinhala
Somali
Spanish
Swahili
Baidu:
Amharic
Arabic
Bengali
Burmese
Chinese
Dutch
French
German
Hindi
Indonesian
Italian
Japanese
Javanese
Korean
Malay
Nepali
Oriya
Pashto
Polish
Portuguese
Punjabi
Russian
Sindhi
Sinhala
Somali
Spanish
Swahili
Copyright 2026 NeoAxis. All rights reserved.