ENet Class Library for C#

Packet.Initialize Method

Initializes a new packet.

Overload List

Initializes a new packet.

public void Initialize(byte[])

Initializes a new packet, with the given flags.

public void Initialize(byte[],PacketFlags)

Initializes a new packet from data, at the given offset, and of the given length.

public void Initialize(byte[],int,int)

Initializes a new packet from data at the given offset, of the given length, and with the given flags.

public void Initialize(byte[],int,int,PacketFlags)

Initializes a new packet from data, of the given length.

public void Initialize(IntPtr,int)

Initializes a new packet from data, of the given length, and with the given flags.

public void Initialize(IntPtr,int,PacketFlags)

See Also

Packet Class | ENet Namespace