次の方法で共有


PacketReader Members

The following tables list the members exposed by the PacketReader type.

Public Constructors

Name Description
Public Method PacketReader Overloaded. Initializes a new instance of PacketReader.

Public Properties

Name Description
Public Property BaseStream (Inherited from BinaryReader.)
Public Property Length Gets the length of the packet being read.
Public Property Position Gets or sets the current packet read position.

Public Methods

Name Description
Public Method Close (Inherited from BinaryReader.)
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method PeekChar (Inherited from BinaryReader.)
Public Method Read (Inherited from BinaryReader.)
Public Method ReadBoolean (Inherited from BinaryReader.)
Public Method ReadByte (Inherited from BinaryReader.)
Public Method ReadBytes (Inherited from BinaryReader.)
Public Method ReadChar (Inherited from BinaryReader.)
Public Method ReadChars (Inherited from BinaryReader.)
Public Method ReadColor Reads a Color value.
Public Method ReadDecimal (Inherited from BinaryReader.)
Public Method ReadDouble Reads an 8-byte floating point value.
Public Method ReadInt16 (Inherited from BinaryReader.)
Public Method ReadInt32 (Inherited from BinaryReader.)
Public Method ReadInt64 (Inherited from BinaryReader.)
Public Method ReadMatrix Reads a Matrix value.
Public Method ReadQuaternion Reads a Quaternion value.
Public Method ReadSByte (Inherited from BinaryReader.)
Public Method ReadSingle Reads a 4-byte floating point value.
Public Method ReadString (Inherited from BinaryReader.)
Public Method ReadUInt16 (Inherited from BinaryReader.)
Public Method ReadUInt32 (Inherited from BinaryReader.)
Public Method ReadUInt64 (Inherited from BinaryReader.)
Public Method ReadVector2 Reads a Vector2 value.
Public Method ReadVector3 Reads a Vector3 value.
Public Method ReadVector4 Reads a Vector3 value.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Dispose (Inherited from BinaryReader.)
Protected Method FillBuffer (Inherited from BinaryReader.)
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Tasks

How To: Receive Data

Reference

PacketReader Class
Microsoft.Xna.Framework.Net Namespace