C# Class FreakySources.Code.AsciimationDataGenerator

Exibir arquivo Open project: KvanTTT/Freaky-Sources Class Usage Examples

Public Methods

Method Description
AsciimationDataGenerator ( string frames ) : System
Compress_v_1_3 ( List &compressedFrames, bool reducedLines = true ) : string
Decompress_v_1_3 ( string str, int currentFrame ) : string
DeserializeByteCount ( byte ar ) : FreakySources.Code.ByteCount[]
GetBytesFreqs ( bool reducedLines = false, int lengthBitsCount = 8 ) : FreakySources.Code.ByteCount[]
GetBytesFreqs ( bool reducedLines, int lengthBitsCount, List compressedFrames ) : FreakySources.Code.ByteCount[]
GetPos ( int x, int y ) : int
SerializeByteCount ( ByteCount byteCounts ) : byte[]

Private Methods

Method Description
BytesToFrame ( byte frame ) : ].char[
CalculateChangesForDifferentChangeTypes ( Frame frames, int frameNumber ) : CompressedFrame>.Dictionary
CalculateFrameChanges ( Frame frames, FrameType type, int frameNumber ) : CompressedFrame
CalculateFrameChanges ( ) : CompressedFrame>>.List
CharsToLine ( char chars ) : string
GetCompressedFrameBytes ( HuffmanTree tree, Frame frame, CompressedFrame compressedFrame ) : byte[]
GetCompressedFrames ( HuffmanTree tree, bool reducedLines, CompressedFrame>.List framesChanges, List &frameDiffs ) : List
GetX ( int pos ) : int
GetY ( int pos ) : int

Method Details

AsciimationDataGenerator() public method

public AsciimationDataGenerator ( string frames ) : System
frames string
return System

Compress_v_1_3() public method

public Compress_v_1_3 ( List &compressedFrames, bool reducedLines = true ) : string
compressedFrames List
reducedLines bool
return string

Decompress_v_1_3() public static method

public static Decompress_v_1_3 ( string str, int currentFrame ) : string
str string
currentFrame int
return string

DeserializeByteCount() public static method

public static DeserializeByteCount ( byte ar ) : FreakySources.Code.ByteCount[]
ar byte
return FreakySources.Code.ByteCount[]

GetBytesFreqs() public method

public GetBytesFreqs ( bool reducedLines = false, int lengthBitsCount = 8 ) : FreakySources.Code.ByteCount[]
reducedLines bool
lengthBitsCount int
return FreakySources.Code.ByteCount[]

GetBytesFreqs() public method

public GetBytesFreqs ( bool reducedLines, int lengthBitsCount, List compressedFrames ) : FreakySources.Code.ByteCount[]
reducedLines bool
lengthBitsCount int
compressedFrames List
return FreakySources.Code.ByteCount[]

GetPos() public method

public GetPos ( int x, int y ) : int
x int
y int
return int

SerializeByteCount() public static method

public static SerializeByteCount ( ByteCount byteCounts ) : byte[]
byteCounts ByteCount
return byte[]