C# Class SharpTox.Core.ToxData

Represents Tox data (unencrypted or encrypted).
Afficher le fichier Open project: hexafluoride/Detox Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ToxData ( byte data ) : System.IO

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

FromBytes() public static méthode

Creates a new instance of ToxData from the specified byte array.
public static FromBytes ( byte bytes ) : ToxData
bytes byte
Résultat ToxData

FromDisk() public static méthode

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

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Save() public méthode

Saves this Tox data to the disk with the specified filename.
public Save ( string filename ) : bool
filename string
Résultat bool

operator() public static méthode

public static operator ( ) : bool
Résultat bool