C# Class MailKit.Security.Ntlm.TargetInfo

Mostra file Open project: jstedfast/MailKit Class Usage Examples

Public Methods

Method Description
Decode ( byte buffer, int startIndex, int length, bool unicode ) : void
Encode ( bool unicode ) : byte[]
TargetInfo ( ) : System
TargetInfo ( byte buffer, int startIndex, int length, bool unicode ) : System

Private Methods

Method Description
CalculateSize ( bool unicode ) : int
DecodeFlags ( byte buffer, int &index ) : int
DecodeString ( byte buffer, int &index, bool unicode ) : string
DecodeTimestamp ( byte buffer, int &index ) : long
EncodeFlags ( byte buf, int &index, short type, int value ) : void
EncodeInt32 ( byte buf, int &index, int value ) : void
EncodeString ( byte buf, int &index, short type, string value, bool unicode ) : void
EncodeTimestamp ( byte buf, int &index, short type, long value ) : void
EncodeTypeAndLength ( byte buf, int &index, short type, short length ) : void

Method Details

Decode() public method

public Decode ( byte buffer, int startIndex, int length, bool unicode ) : void
buffer byte
startIndex int
length int
unicode bool
return void

Encode() public method

public Encode ( bool unicode ) : byte[]
unicode bool
return byte[]

TargetInfo() public method

public TargetInfo ( ) : System
return System

TargetInfo() public method

public TargetInfo ( byte buffer, int startIndex, int length, bool unicode ) : System
buffer byte
startIndex int
length int
unicode bool
return System