Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Serialization Namespace / PacketReader Class / PacketReader Constructor / PacketReader Constructor(Stream,Boolean,Int32,Int32)
Data to be read
Indicates if the input can be assumed fixed in length
Major version of the serialization protocol
Minor version of the serialization protocol

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

    Parameters

    stream
    Data to be read
    inputIsReadOnly
    Indicates if the input can be assumed fixed in length
    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