C# Class BinTreeNodeReader, whatsapp-desktop-client

显示文件 Open project: sambulosenda/whatsapp-desktop-client Class Usage Examples

Public Methods

Method Description
BinTreeNodeReader ( string dict ) : System
nextTree ( byte pInput = null ) : ProtocolTreeNode,

Protected Methods

Method Description
decode ( List &buffer, int stanzaSize ) : void
fillArray ( int len ) : byte[]
getToken ( int token ) : string
isListTag ( int token ) : bool
nextTreeInternal ( ) : ProtocolTreeNode,
peekInt16 ( int offset ) : int
peekInt24 ( int offset ) : int
peekInt8 ( int offset ) : int
readAttributes ( int size ) : IEnumerable
readBytes ( int token ) : byte[]
readInt16 ( ) : int
readInt24 ( ) : int
readInt8 ( ) : int
readList ( int token ) : List
readListSize ( int token ) : int

Method Details

BinTreeNodeReader() public method

public BinTreeNodeReader ( string dict ) : System
dict string
return System

decode() protected method

protected decode ( List &buffer, int stanzaSize ) : void
buffer List
stanzaSize int
return void

fillArray() protected method

protected fillArray ( int len ) : byte[]
len int
return byte[]

getToken() protected method

protected getToken ( int token ) : string
token int
return string

isListTag() protected method

protected isListTag ( int token ) : bool
token int
return bool

nextTree() public method

public nextTree ( byte pInput = null ) : ProtocolTreeNode,
pInput byte
return ProtocolTreeNode,

nextTreeInternal() protected method

protected nextTreeInternal ( ) : ProtocolTreeNode,
return ProtocolTreeNode,

peekInt16() protected method

protected peekInt16 ( int offset ) : int
offset int
return int

peekInt24() protected method

protected peekInt24 ( int offset ) : int
offset int
return int

peekInt8() protected method

protected peekInt8 ( int offset ) : int
offset int
return int

readAttributes() protected method

protected readAttributes ( int size ) : IEnumerable
size int
return IEnumerable

readBytes() protected method

protected readBytes ( int token ) : byte[]
token int
return byte[]

readInt16() protected method

protected readInt16 ( ) : int
return int

readInt24() protected method

protected readInt24 ( ) : int
return int

readInt8() protected method

protected readInt8 ( ) : int
return int

readList() protected method

protected readList ( int token ) : List
token int
return List

readListSize() protected method

protected readListSize ( int token ) : int
token int
return int