C# Class KFreonLib.Helpers.SaltLZOHelper

Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Méthode Description
CompressChunk ( Chunk chunk ) : byte[]
CompressTex ( byte data ) : byte[]

Takes regular image data and returns it in a compressed form ready for archiving

DecompressPCC ( Stream raw, IPCCObject pcc ) : MemoryStream
DecompressTex ( Stream archiveStream, int offset, int uncSize, int cprSize ) : byte[]

Takes compressed archived image data and returns the raw image data

SaltLZOHelper ( ) : System

Method Details

CompressChunk() public méthode

public CompressChunk ( Chunk chunk ) : byte[]
chunk Chunk
Résultat byte[]

CompressTex() public méthode

Takes regular image data and returns it in a compressed form ready for archiving
public CompressTex ( byte data ) : byte[]
data byte
Résultat byte[]

DecompressPCC() public méthode

public DecompressPCC ( Stream raw, IPCCObject pcc ) : MemoryStream
raw Stream
pcc IPCCObject
Résultat System.IO.MemoryStream

DecompressTex() public méthode

Takes compressed archived image data and returns the raw image data
public DecompressTex ( Stream archiveStream, int offset, int uncSize, int cprSize ) : byte[]
archiveStream Stream
offset int
uncSize int
cprSize int
Résultat byte[]

SaltLZOHelper() public méthode

public SaltLZOHelper ( ) : System
Résultat System