C# Class SB3Utility.ppHeader

Afficher le fichier Open project: aa2g/AA2Install Class Usage Examples

Méthodes publiques

Méthode Description
DecryptHeaderBytes ( byte buf ) : byte
DecryptHeaderBytes ( byte buf ) : byte[]
HeaderSize ( int numFiles ) : uint
ReadHeader ( string path ) : List
VerifyHeader ( string path ) : bool
WriteHeader ( Stream stream, List files, uint sizes, object metadata ) : void
WriteRLEHeader ( Stream stream, MetaIWriteList data ) : void

Private Methods

Méthode Description
ByteArrayCompare ( this a1, byte a2 ) : bool

Method Details

DecryptHeaderBytes() public static méthode

public static DecryptHeaderBytes ( byte buf ) : byte
buf byte
Résultat byte

DecryptHeaderBytes() public static méthode

public static DecryptHeaderBytes ( byte buf ) : byte[]
buf byte
Résultat byte[]

HeaderSize() public static méthode

public static HeaderSize ( int numFiles ) : uint
numFiles int
Résultat uint

ReadHeader() public static méthode

public static ReadHeader ( string path ) : List
path string
Résultat List

VerifyHeader() public static méthode

public static VerifyHeader ( string path ) : bool
path string
Résultat bool

WriteHeader() public static méthode

public static WriteHeader ( Stream stream, List files, uint sizes, object metadata ) : void
stream Stream
files List
sizes uint
metadata object
Résultat void

WriteRLEHeader() public static méthode

public static WriteRLEHeader ( Stream stream, MetaIWriteList data ) : void
stream Stream
data MetaIWriteList
Résultat void