C# 클래스 rencodesharp.Rencode

파일 보기 프로젝트 열기: voltagex/junkcode

공개 메소드들

메소드 설명
Decode ( byte x ) : object

Decode rencode bytes 'x' into object.

Decode ( string x ) : object

Decode rencode string 'x' into object.

Encode ( object x ) : string

Encode object 'x' into a rencode string.

비공개 메소드들

메소드 설명
DecodeBoolFalse ( string x, int startIndex, int &endIndex ) : object
DecodeBoolTrue ( string x, int startIndex, int &endIndex ) : object
DecodeDictionary ( string x, int startIndex, int &endIndex ) : object
DecodeDouble ( string x, int startIndex, int &endIndex ) : object
DecodeFixedDictionary ( string x, int startIndex, int &endIndex ) : object
DecodeFixedList ( string x, int startIndex, int &endIndex ) : object
DecodeFixedNegativeInt ( string x, int startIndex, int &endIndex ) : object
DecodeFixedPositiveInt ( string x, int startIndex, int &endIndex ) : object
DecodeFixedString ( string x, int startIndex, int &endIndex ) : object
DecodeFloat ( string x, int startIndex, int &endIndex ) : object
DecodeInt ( string x, int startIndex, int &endIndex ) : object
DecodeInt1 ( string x, int startIndex, int &endIndex ) : object
DecodeInt2 ( string x, int startIndex, int &endIndex ) : object
DecodeInt4 ( string x, int startIndex, int &endIndex ) : object
DecodeInt8 ( string x, int startIndex, int &endIndex ) : object
DecodeList ( string x, int startIndex, int &endIndex ) : object
DecodeNull ( string x, int startIndex, int &endIndex ) : object
DecodeObject ( string x, int startIndex, int &endIndex ) : object
DecodeString ( string x, int startIndex, int &endIndex ) : string
EncodeBool ( object x, List dest ) : void
EncodeDictionary ( object x, List dest ) : void
EncodeDouble ( object x, List dest ) : void
EncodeFloat ( object x, List dest ) : void
EncodeInt ( object x, List dest ) : void
EncodeList ( object x, List dest ) : void
EncodeObject ( object x, List dest ) : void
EncodeString ( object x, List dest ) : void
Rencode ( ) : System
encode_null ( object x, List dest ) : void

메소드 상세

Decode() 공개 정적인 메소드

Decode rencode bytes 'x' into object.
public static Decode ( byte x ) : object
x byte
리턴 object

Decode() 공개 정적인 메소드

Decode rencode string 'x' into object.
public static Decode ( string x ) : object
x string
리턴 object

Encode() 공개 정적인 메소드

Encode object 'x' into a rencode string.
public static Encode ( object x ) : string
x object
리턴 string