C# Класс ME3Explorer.TLKEditorDebugTools

Various debugging methods for both HuffmanCompression.cs and TalkFile.cs. Mainly consists of methods for printing some additional stuff.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetFixedLengthString ( string input, int length ) : string
LoadHuffmanTree ( BitArray>.Dictionary tree ) : void

Loads HuffmanTree for further debugging (eg. printing out).

Intended for HuffmanCompression.cs data structures.

LoadHuffmanTree ( List HuffmanTree, int curNodeID, string curCode ) : void

Loads HuffmanTree for further debugging (eg. printing out). Start with parameters: (CharacterTree, 0, "")

Intended for TalkFile.cs data structures.

PrintHeader ( TalkFile Header ) : void

Prints TLK Header from TalkFile.cs module.

PrintLookupTable ( ) : void

Prints code for every character coded in Huffman Tree (previously loaded).

TestDictionaryBytesReading ( BinaryReader r, int treeNodeCount ) : void

For testing binary representation of HuffmanTree form module HuffmanCompression.cs.

Описание методов

GetFixedLengthString() статический публичный Метод

static public GetFixedLengthString ( string input, int length ) : string
input string
length int
Результат string

LoadHuffmanTree() публичный статический Метод

Loads HuffmanTree for further debugging (eg. printing out).
Intended for HuffmanCompression.cs data structures.
public static LoadHuffmanTree ( BitArray>.Dictionary tree ) : void
tree BitArray>.Dictionary
Результат void

LoadHuffmanTree() статический публичный Метод

Loads HuffmanTree for further debugging (eg. printing out). Start with parameters: (CharacterTree, 0, "")
Intended for TalkFile.cs data structures.
static public LoadHuffmanTree ( List HuffmanTree, int curNodeID, string curCode ) : void
HuffmanTree List
curNodeID int
curCode string
Результат void

PrintHeader() статический публичный Метод

Prints TLK Header from TalkFile.cs module.
static public PrintHeader ( TalkFile Header ) : void
Header TalkFile
Результат void

PrintLookupTable() публичный статический Метод

Prints code for every character coded in Huffman Tree (previously loaded).
public static PrintLookupTable ( ) : void
Результат void

TestDictionaryBytesReading() публичный статический Метод

For testing binary representation of HuffmanTree form module HuffmanCompression.cs.
public static TestDictionaryBytesReading ( BinaryReader r, int treeNodeCount ) : void
r System.IO.BinaryReader
treeNodeCount int
Результат void