C# Class Nanook.TheGhost.Plugins.Ima

Exibir arquivo Open project: Nanook/TheGHOST Class Usage Examples

Public Methods

Method Description
Decode ( string srcPath, string dstPath ) : void
Encode ( string srcPath, string dstPath, bool forceMono ) : void

Private Methods

Method Description
DecodeBlock ( Stream s, int src ) : byte[]
EncodeBlock ( Stream s ) : byte[]
ReadBytes ( Stream s, int length ) : byte[]
ReadID ( Stream s ) : string
ReadInt16 ( Stream s ) : short
ReadInt32 ( Stream s ) : int
ReadUInt16 ( Stream s ) : ushort
ReadUInt32 ( Stream s ) : uint
readHeader ( Stream stream, bool forDecode, bool forceMonoEncode ) : int

Method Details

Decode() public method

public Decode ( string srcPath, string dstPath ) : void
srcPath string
dstPath string
return void

Encode() public method

public Encode ( string srcPath, string dstPath, bool forceMono ) : void
srcPath string
dstPath string
forceMono bool
return void