C# Class FloatingQueue.Common.TCP.TCPBinaryReader

显示文件 Open project: eleks/FloatingQueuePoC Class Usage Examples

Public Properties

Property Type Description
Command uint
HeaderSize uint
IsComplete bool

Public Methods

Method Description
ReadBoolean ( ) : bool
ReadBytes ( ) : byte[]
ReadInt32 ( ) : int
ReadObject ( ) : object
ReadString ( ) : string
TCPBinaryReader ( uint expectedSignature, int>.Func dataReceiveCallback ) : System

Private Methods

Method Description
ParseHeader ( byte header, uint expectedSignature ) : uint>.Tuple

Method Details

ReadBoolean() public method

public ReadBoolean ( ) : bool
return bool

ReadBytes() public method

public ReadBytes ( ) : byte[]
return byte[]

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadObject() public method

public ReadObject ( ) : object
return object

ReadString() public method

public ReadString ( ) : string
return string

TCPBinaryReader() public method

public TCPBinaryReader ( uint expectedSignature, int>.Func dataReceiveCallback ) : System
expectedSignature uint
dataReceiveCallback int>.Func
return System

Property Details

Command public_oe property

public uint Command
return uint

HeaderSize public_oe static_oe property

public static uint HeaderSize
return uint

IsComplete public_oe property

public bool IsComplete
return bool