C# Class Fire_Emblem_Map_Editor.LZ77

Show file Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Public Methods

Method Description
Compress ( BinaryReader br, int offset, int size ) : byte[]
Compress ( byte unCompressedData ) : byte[]
Scan ( BinaryReader br ) : int[]
UnCompress ( BinaryReader br, int offset ) : byte[]
UnCompress ( byte CompressedData ) : byte[]

Private Methods

Method Description
Search ( List SlidingWindow, byte ReadAheadBuffer ) : int[]

Method Details

Compress() public method

public Compress ( BinaryReader br, int offset, int size ) : byte[]
br System.IO.BinaryReader
offset int
size int
return byte[]

Compress() public method

public Compress ( byte unCompressedData ) : byte[]
unCompressedData byte
return byte[]

Scan() public method

public Scan ( BinaryReader br ) : int[]
br System.IO.BinaryReader
return int[]

UnCompress() public method

public UnCompress ( BinaryReader br, int offset ) : byte[]
br System.IO.BinaryReader
offset int
return byte[]

UnCompress() public method

public UnCompress ( byte CompressedData ) : byte[]
CompressedData byte
return byte[]