C# Class Server.Network.PacketReader

Show file Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
IsSafeChar ( int c ) : bool
PacketReader ( byte data, int size, bool fixedSize ) : System
ReadBoolean ( ) : bool
ReadByte ( ) : byte
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadSByte ( ) : sbyte
ReadString ( ) : string
ReadString ( int fixedLength ) : string
ReadStringSafe ( ) : string
ReadStringSafe ( int fixedLength ) : string
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
ReadUTF8String ( ) : string
ReadUTF8StringSafe ( ) : string
ReadUTF8StringSafe ( int fixedLength ) : string
ReadUnicodeString ( ) : string
ReadUnicodeString ( int fixedLength ) : string
ReadUnicodeStringLE ( ) : string
ReadUnicodeStringLESafe ( ) : string
ReadUnicodeStringLESafe ( int fixedLength ) : string
ReadUnicodeStringSafe ( ) : string
ReadUnicodeStringSafe ( int fixedLength ) : string
Seek ( int offset, SeekOrigin origin ) : int
Trace ( Server.Network.NetState state ) : void

Method Details

IsSafeChar() public method

public IsSafeChar ( int c ) : bool
c int
return bool

PacketReader() public method

public PacketReader ( byte data, int size, bool fixedSize ) : System
data byte
size int
fixedSize bool
return System

ReadBoolean() public method

public ReadBoolean ( ) : bool
return bool

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadSByte() public method

public ReadSByte ( ) : sbyte
return sbyte

ReadString() public method

public ReadString ( ) : string
return string

ReadString() public method

public ReadString ( int fixedLength ) : string
fixedLength int
return string

ReadStringSafe() public method

public ReadStringSafe ( ) : string
return string

ReadStringSafe() public method

public ReadStringSafe ( int fixedLength ) : string
fixedLength int
return string

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

ReadUTF8String() public method

public ReadUTF8String ( ) : string
return string

ReadUTF8StringSafe() public method

public ReadUTF8StringSafe ( ) : string
return string

ReadUTF8StringSafe() public method

public ReadUTF8StringSafe ( int fixedLength ) : string
fixedLength int
return string

ReadUnicodeString() public method

public ReadUnicodeString ( ) : string
return string

ReadUnicodeString() public method

public ReadUnicodeString ( int fixedLength ) : string
fixedLength int
return string

ReadUnicodeStringLE() public method

public ReadUnicodeStringLE ( ) : string
return string

ReadUnicodeStringLESafe() public method

public ReadUnicodeStringLESafe ( ) : string
return string

ReadUnicodeStringLESafe() public method

public ReadUnicodeStringLESafe ( int fixedLength ) : string
fixedLength int
return string

ReadUnicodeStringSafe() public method

public ReadUnicodeStringSafe ( ) : string
return string

ReadUnicodeStringSafe() public method

public ReadUnicodeStringSafe ( int fixedLength ) : string
fixedLength int
return string

Seek() public method

public Seek ( int offset, SeekOrigin origin ) : int
offset int
origin SeekOrigin
return int

Trace() public method

public Trace ( Server.Network.NetState state ) : void
state Server.Network.NetState
return void