Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Serialization Namespace / PacketWriter Class / PacketWriter Constructor / PacketWriter Constructor(Stream,Int32,Int32)
Destination for data written
Major version of the serialization protocol
Minor version of the serialization protocol

In This Topic
    PacketWriter Constructor(Stream,Int32,Int32)
    In This Topic
    Initialize a PacketWriter to read the specified stream using the provided encoding for strings.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal stream As Stream, _
       ByVal majorVersion As Integer, _
       ByVal minorVersion As Integer _
    )
    public PacketWriter( 
       Stream stream,
       int majorVersion,
       int minorVersion
    )

    Parameters

    stream
    Destination for data written
    majorVersion
    Major version of the serialization protocol
    minorVersion
    Minor version of the serialization protocol
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also