C# Class DBus.Protocol.Header

Exibir arquivo Open project: brookpatten/dbus-sharp Class Usage Examples

Public Properties

Property Type Description
Endianness EndianFlag
Flags HeaderFlag
Length uint
MajorVersion byte
MessageType MessageType
Serial uint

Public Methods

Method Description
FromBytes ( byte data ) : Header
GetHeaderDataToStream ( Stream stream ) : void
TryGetField ( FieldCode code, object &value ) : bool
this ( FieldCode key ) : object

Private Methods

Method Description
WriteHeaderToMessage ( MessageWriter writer ) : void

Method Details

FromBytes() public static method

public static FromBytes ( byte data ) : Header
data byte
return Header

GetHeaderDataToStream() public method

public GetHeaderDataToStream ( Stream stream ) : void
stream Stream
return void

TryGetField() public method

public TryGetField ( FieldCode code, object &value ) : bool
code FieldCode
value object
return bool

this() public method

public this ( FieldCode key ) : object
key FieldCode
return object

Property Details

Endianness public_oe property

public EndianFlag Endianness
return EndianFlag

Flags public_oe property

public HeaderFlag Flags
return HeaderFlag

Length public_oe property

public uint Length
return uint

MajorVersion public_oe property

public byte MajorVersion
return byte

MessageType public_oe property

public MessageType MessageType
return MessageType

Serial public_oe property

public uint Serial
return uint