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

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

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

Encode() public static méthode

public static Encode ( byte src ) : byte[]
src byte
Résultat byte[]