C# Class OpenRA.Mods.Common.FileFormats.LCWCompression

Exibir arquivo Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
DecodeInto ( byte src, byte dest, int srcOffset, bool reverse = false ) : int
Encode ( byte src ) : byte[]

Private Methods

Method Description
CountSame ( byte src, int offset, int maxCount ) : int
ReplicatePrevious ( byte dest, int destIndex, int srcIndex, int count ) : void
WriteCopyBlocks ( byte src, int offset, int count, MemoryStream output ) : void

Method Details

DecodeInto() public static method

public static DecodeInto ( byte src, byte dest, int srcOffset, bool reverse = false ) : int
src byte
dest byte
srcOffset int
reverse bool
return int

Encode() public static method

public static Encode ( byte src ) : byte[]
src byte
return byte[]