Click or drag to resize

PacketReaderExtensions Methods

The PacketReaderExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodGetString Reads a string from the current position in the packet packet. The current position is advanced by the number of bytes read.
Public Extension MethodReadDouble Reads a 64bit double floating point number from the current position in the packet packet. The current position is advanced by 8 bytes.
Public Extension MethodReadInt16 Reads a 16bit signed integer from the current position in the packet packet. The current position is advanced by 2 bytes.
Public Extension MethodReadInt32 Reads a 32bit signed integer from the current position in the packet packet. The current position is advanced by 4 bytes.
Public Extension MethodReadInt64 Reads a 64bit signed integer from the current position in the packet packet. The current position is advanced by 8 bytes.
Public Extension MethodReadSingle Reads a 32bit single floating point number from the current position in the packet packet. The current position is advanced by 4 bytes.
Public Extension MethodReadString Reads a string from the current position in the packet packet. The current position is advanced by the number of bytes read.
Public Extension MethodReadUInt16 Reads a 16bit unsigned integer from the current position in the packet packet. The current position is advanced by 2 bytes.
Public Extension MethodReadUInt32 Reads a 32bit unsigned integer from the current position in the packet packet. The current position is advanced by 4 bytes.
Public Extension MethodReadUInt64 Reads a 64bit unsigned integer from the current position in the packet packet. The current position is advanced by 8 bytes.
Top
See Also