C# 클래스 SharpTox.Core.ToxData

Represents Tox data (unencrypted or encrypted).
파일 보기 프로젝트 열기: hexafluoride/Detox 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
FromBytes ( byte bytes ) : ToxData

Creates a new instance of ToxData from the specified byte array.

FromDisk ( string filename ) : ToxData

Loads Tox data from disk and creates a new instance of ToxData.

GetHashCode ( ) : int
Save ( string filename ) : bool

Saves this Tox data to the disk with the specified filename.

operator ( ) : bool

비공개 메소드들

메소드 설명
ToxData ( byte data ) : System.IO

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

FromBytes() 공개 정적인 메소드

Creates a new instance of ToxData from the specified byte array.
public static FromBytes ( byte bytes ) : ToxData
bytes byte
리턴 ToxData

FromDisk() 공개 정적인 메소드

Loads Tox data from disk and creates a new instance of ToxData.
public static FromDisk ( string filename ) : ToxData
filename string
리턴 ToxData

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Save() 공개 메소드

Saves this Tox data to the disk with the specified filename.
public Save ( string filename ) : bool
filename string
리턴 bool

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool