C# 클래스 ME3Explorer.TLKEditorDebugTools

Various debugging methods for both HuffmanCompression.cs and TalkFile.cs. Mainly consists of methods for printing some additional stuff.
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer

공개 메소드들

메소드 설명
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