C# Class BF2Statistics.Gamespy.Enctypex

I was never smart enough to recode this from the Open C source that Alugi made, instead i decompiled the Reality.Net.Dll from the PR guys and copied thier sources. Since this was created by using the Alugi open source code, i didnt see an harm in this. If anyone an issue with this, they can email me directly @ [email protected].
Datei anzeigen Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Methods

Method Description
Encode ( byte key, byte validate, byte data, long size ) : byte[]

Private Methods

Method Description
Eight ( byte u0002, long u0003, byte u0005, long u0008, long &u0006, long &u000e ) : long
Five ( byte &u0002, byte u0003 ) : byte
Four ( byte &u0002, byte &u0003, long u0005 ) : long
Seven ( byte &u0002, byte &u0003, long &u0005 ) : void
Six ( byte &u0002, byte &u0003, byte &u0005, byte u0008, long u0006 ) : void
Three ( byte &u0002, byte &u0003, byte u0005, byte &u0008, long &u0006, GSEncodingData &u000e ) : byte[]
Two ( byte u0002, byte u0003, byte u0005, long u0008, GSEncodingData u0006 ) : byte[]

Method Details

Encode() public static method

public static Encode ( byte key, byte validate, byte data, long size ) : byte[]
key byte
validate byte
data byte
size long
return byte[]