C# 클래스 BinTreeNodeWriter, whatsapp-desktop-client

파일 보기 프로젝트 열기: sambulosenda/whatsapp-desktop-client 1 사용 예제들

공개 메소드들

메소드 설명
BinTreeNodeWriter ( string dict ) : System
StartStream ( string domain, string resource ) : byte[]
Write ( ProtocolTreeNode, node, bool encrypt = true ) : byte[]

보호된 메소드들

메소드 설명
flushBuffer ( bool encrypt = true ) : byte[]
writeAttributes ( IEnumerable attributes ) : void
writeBytes ( byte bytes ) : void
writeBytes ( string bytes ) : void
writeInt16 ( int v ) : void
writeInt24 ( int v ) : void
writeInt8 ( int v ) : void
writeInternal ( ProtocolTreeNode, node ) : void
writeJid ( string user, string server ) : void
writeListStart ( int len ) : void
writeString ( string tag ) : void
writeToken ( int token ) : void

비공개 메소드들

메소드 설명
GetInt16 ( int len ) : byte[]
GetInt24 ( int len ) : byte[]

메소드 상세

BinTreeNodeWriter() 공개 메소드

public BinTreeNodeWriter ( string dict ) : System
dict string
리턴 System

StartStream() 공개 메소드

public StartStream ( string domain, string resource ) : byte[]
domain string
resource string
리턴 byte[]

Write() 공개 메소드

public Write ( ProtocolTreeNode, node, bool encrypt = true ) : byte[]
node ProtocolTreeNode,
encrypt bool
리턴 byte[]

flushBuffer() 보호된 메소드

protected flushBuffer ( bool encrypt = true ) : byte[]
encrypt bool
리턴 byte[]

writeAttributes() 보호된 메소드

protected writeAttributes ( IEnumerable attributes ) : void
attributes IEnumerable
리턴 void

writeBytes() 보호된 메소드

protected writeBytes ( byte bytes ) : void
bytes byte
리턴 void

writeBytes() 보호된 메소드

protected writeBytes ( string bytes ) : void
bytes string
리턴 void

writeInt16() 보호된 메소드

protected writeInt16 ( int v ) : void
v int
리턴 void

writeInt24() 보호된 메소드

protected writeInt24 ( int v ) : void
v int
리턴 void

writeInt8() 보호된 메소드

protected writeInt8 ( int v ) : void
v int
리턴 void

writeInternal() 보호된 메소드

protected writeInternal ( ProtocolTreeNode, node ) : void
node ProtocolTreeNode,
리턴 void

writeJid() 보호된 메소드

protected writeJid ( string user, string server ) : void
user string
server string
리턴 void

writeListStart() 보호된 메소드

protected writeListStart ( int len ) : void
len int
리턴 void

writeString() 보호된 메소드

protected writeString ( string tag ) : void
tag string
리턴 void

writeToken() 보호된 메소드

protected writeToken ( int token ) : void
token int
리턴 void