Share via


PacketWriter Constructor (Int32)

Initializes a new instance of PacketWriter with the specified capacity.

Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in microsoft.xna.framework.net.dll)

Syntax

public PacketWriter (
         int capacity
)

Parameters

  • capacity
    Type: Int32
    Capacity for the packet writer.

See Also

Reference

PacketWriter Class
PacketWriter Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP