C# Class DBus.Protocol.MessageDumper

Mostrar archivo Open project: brookpatten/dbus-sharp Class Usage Examples

Public Methods

Method Description
ReadBlock ( TextReader r ) : byte[]
ReadMessage ( TextReader r ) : Message
WriteBlock ( byte Body, TextWriter w ) : void
WriteComment ( string comment, TextWriter w ) : void
WriteMessage ( Message msg, TextWriter w ) : void

Private Methods

Method Description
FromHexChar ( char c ) : byte
ReadFromHex ( Stream ms, string hex ) : bool

Method Details

ReadBlock() public static method

public static ReadBlock ( TextReader r ) : byte[]
r System.IO.TextReader
return byte[]

ReadMessage() public static method

public static ReadMessage ( TextReader r ) : Message
r System.IO.TextReader
return Message

WriteBlock() public static method

public static WriteBlock ( byte Body, TextWriter w ) : void
Body byte
w System.IO.TextWriter
return void

WriteComment() public static method

public static WriteComment ( string comment, TextWriter w ) : void
comment string
w System.IO.TextWriter
return void

WriteMessage() public static method

public static WriteMessage ( Message msg, TextWriter w ) : void
msg Message
w System.IO.TextWriter
return void