PacketReaderExtensions Class | 
Namespace: Demo3D.IO
public static class PacketReaderExtensions
The PacketReaderExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| GetString | 
            Reads a string from the current position in the packet packet.
            The current position is advanced by the number of bytes read.
              | |
| ReadDouble | 
            Reads a 64bit double floating point number from the current position in the packet packet.
            The current position is advanced by 8 bytes.
              | |
| ReadInt16 | 
            Reads a 16bit signed integer from the current position in the packet packet.
            The current position is advanced by 2 bytes.
              | |
| ReadInt32 | 
            Reads a 32bit signed integer from the current position in the packet packet.
            The current position is advanced by 4 bytes.
              | |
| ReadInt64 | 
            Reads a 64bit signed integer from the current position in the packet packet.
            The current position is advanced by 8 bytes.
              | |
| ReadSingle | 
            Reads a 32bit single floating point number from the current position in the packet packet.
            The current position is advanced by 4 bytes.
              | |
| ReadString | 
            Reads a string from the current position in the packet packet.
            The current position is advanced by the number of bytes read.
              | |
| ReadUInt16 | 
            Reads a 16bit unsigned integer from the current position in the packet packet.
            The current position is advanced by 2 bytes.
              | |
| ReadUInt32 | 
            Reads a 32bit unsigned integer from the current position in the packet packet.
            The current position is advanced by 4 bytes.
              | |
| ReadUInt64 | 
            Reads a 64bit unsigned integer from the current position in the packet packet.
            The current position is advanced by 8 bytes.
              |