Click or drag to resize

NetDataWriterPutBytesWithLength(Byte, Int32, UInt16) Method

Serializes a segment of a Byte array prefixed with its UInt16 length.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public void PutBytesWithLength(
	byte[] data,
	int offset,
	ushort length
)

Parameters

data  Byte
The source Byte array.
offset  Int32
The starting index in the source array.
length  UInt16
The number of Bytes to write.
See Also