C# Class Tce.RpcBinarySerializer

Datei anzeigen Open project: adoggie/TCE Class Usage Examples

Public Methods

Method Description
getByteCount ( string value ) : int
readBool ( BinaryReader reader ) : bool
readByte ( BinaryReader reader ) : byte
readBytes ( BinaryReader reader ) : byte[]
readDouble ( BinaryReader reader ) : double
readFloat ( BinaryReader reader ) : float
readInt ( BinaryReader reader ) : int
readLong ( BinaryReader reader ) : long
readShort ( BinaryReader reader ) : short
readString ( BinaryReader reader ) : string
writeBool ( bool value, BinaryWriter writer ) : void
writeByte ( byte value, BinaryWriter writer ) : void
writeBytes ( byte value, BinaryWriter writer ) : void
writeDouble ( double value, BinaryWriter writer ) : void
writeFloat ( float value, BinaryWriter writer ) : void
writeInt ( int value, BinaryWriter writer ) : void
writeLong ( long value, BinaryWriter writer ) : void
writeShort ( short value, BinaryWriter writer ) : void
writeString ( string value, BinaryWriter writer ) : void

Method Details

getByteCount() public static method

public static getByteCount ( string value ) : int
value string
return int

readBool() public static method

public static readBool ( BinaryReader reader ) : bool
reader System.IO.BinaryReader
return bool

readByte() public static method

public static readByte ( BinaryReader reader ) : byte
reader System.IO.BinaryReader
return byte

readBytes() public static method

public static readBytes ( BinaryReader reader ) : byte[]
reader System.IO.BinaryReader
return byte[]

readDouble() public static method

public static readDouble ( BinaryReader reader ) : double
reader System.IO.BinaryReader
return double

readFloat() public static method

public static readFloat ( BinaryReader reader ) : float
reader System.IO.BinaryReader
return float

readInt() public static method

public static readInt ( BinaryReader reader ) : int
reader System.IO.BinaryReader
return int

readLong() public static method

public static readLong ( BinaryReader reader ) : long
reader System.IO.BinaryReader
return long

readShort() public static method

public static readShort ( BinaryReader reader ) : short
reader System.IO.BinaryReader
return short

readString() public static method

public static readString ( BinaryReader reader ) : string
reader System.IO.BinaryReader
return string

writeBool() public static method

public static writeBool ( bool value, BinaryWriter writer ) : void
value bool
writer System.IO.BinaryWriter
return void

writeByte() public static method

public static writeByte ( byte value, BinaryWriter writer ) : void
value byte
writer System.IO.BinaryWriter
return void

writeBytes() public static method

public static writeBytes ( byte value, BinaryWriter writer ) : void
value byte
writer System.IO.BinaryWriter
return void

writeDouble() public static method

public static writeDouble ( double value, BinaryWriter writer ) : void
value double
writer System.IO.BinaryWriter
return void

writeFloat() public static method

public static writeFloat ( float value, BinaryWriter writer ) : void
value float
writer System.IO.BinaryWriter
return void

writeInt() public static method

public static writeInt ( int value, BinaryWriter writer ) : void
value int
writer System.IO.BinaryWriter
return void

writeLong() public static method

public static writeLong ( long value, BinaryWriter writer ) : void
value long
writer System.IO.BinaryWriter
return void

writeShort() public static method

public static writeShort ( short value, BinaryWriter writer ) : void
value short
writer System.IO.BinaryWriter
return void

writeString() public static method

public static writeString ( string value, BinaryWriter writer ) : void
value string
writer System.IO.BinaryWriter
return void