C# Class SB3Utility.ppHeader

Mostra file Open project: aa2g/AA2Install Class Usage Examples

Public Methods

Method 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

Method Description
ByteArrayCompare ( this a1, byte a2 ) : bool

Method Details

DecryptHeaderBytes() public static method

public static DecryptHeaderBytes ( byte buf ) : byte
buf byte
return byte

DecryptHeaderBytes() public static method

public static DecryptHeaderBytes ( byte buf ) : byte[]
buf byte
return byte[]

HeaderSize() public static method

public static HeaderSize ( int numFiles ) : uint
numFiles int
return uint

ReadHeader() public static method

public static ReadHeader ( string path ) : List
path string
return List

VerifyHeader() public static method

public static VerifyHeader ( string path ) : bool
path string
return bool

WriteHeader() public static method

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

WriteRLEHeader() public static method

public static WriteRLEHeader ( Stream stream, MetaIWriteList data ) : void
stream Stream
data MetaIWriteList
return void