C# Class AtelierElieScripter.Lib.Tools

Description of Tools.
显示文件 Open project: Markliujy/AtelierElieTranslation

Public Methods

Method Description
GetHalfWordFromFile ( BinaryReader file ) : int
GetHalfWordFromFile ( uint pointerLoc, BinaryReader file ) : int
GetHalfWordFromFile ( uint pointerLoc, int fileOffset, BinaryReader file ) : int
GetPointerFromFile ( BinaryReader file ) : uint
GetPointerFromFile ( uint pointerLoc, BinaryReader file ) : uint
GetPointerFromFile ( uint pointerLoc, uint fileOffset, BinaryReader file ) : uint
GetStringFromFileWithPointer ( uint pointerLoc, uint fileOffset, BinaryReader file ) : string
GetStringFromFileWithPointer ( uint pointerLoc, uint fileOffset, Byte file ) : string
GetStringFromFileWithPointer ( uint pointerLoc, uint fileOffset, Byte file, Encoding enc ) : string
GetTextFromFile ( uint pointer, uint fileOffset, BinaryReader file ) : string
InvertImage ( Bitmap originalImg ) : Bitmap

Returns Inverted Input Image

Tools ( ) : System

Method Details

GetHalfWordFromFile() public static method

public static GetHalfWordFromFile ( BinaryReader file ) : int
file System.IO.BinaryReader
return int

GetHalfWordFromFile() public static method

public static GetHalfWordFromFile ( uint pointerLoc, BinaryReader file ) : int
pointerLoc uint
file System.IO.BinaryReader
return int

GetHalfWordFromFile() public static method

public static GetHalfWordFromFile ( uint pointerLoc, int fileOffset, BinaryReader file ) : int
pointerLoc uint
fileOffset int
file System.IO.BinaryReader
return int

GetPointerFromFile() public static method

public static GetPointerFromFile ( BinaryReader file ) : uint
file System.IO.BinaryReader
return uint

GetPointerFromFile() public static method

public static GetPointerFromFile ( uint pointerLoc, BinaryReader file ) : uint
pointerLoc uint
file System.IO.BinaryReader
return uint

GetPointerFromFile() public static method

public static GetPointerFromFile ( uint pointerLoc, uint fileOffset, BinaryReader file ) : uint
pointerLoc uint
fileOffset uint
file System.IO.BinaryReader
return uint

GetStringFromFileWithPointer() public static method

public static GetStringFromFileWithPointer ( uint pointerLoc, uint fileOffset, BinaryReader file ) : string
pointerLoc uint
fileOffset uint
file System.IO.BinaryReader
return string

GetStringFromFileWithPointer() public static method

public static GetStringFromFileWithPointer ( uint pointerLoc, uint fileOffset, Byte file ) : string
pointerLoc uint
fileOffset uint
file Byte
return string

GetStringFromFileWithPointer() public static method

public static GetStringFromFileWithPointer ( uint pointerLoc, uint fileOffset, Byte file, Encoding enc ) : string
pointerLoc uint
fileOffset uint
file Byte
enc System.Text.Encoding
return string

GetTextFromFile() public static method

public static GetTextFromFile ( uint pointer, uint fileOffset, BinaryReader file ) : string
pointer uint
fileOffset uint
file System.IO.BinaryReader
return string

InvertImage() public static method

Returns Inverted Input Image
public static InvertImage ( Bitmap originalImg ) : Bitmap
originalImg System.Drawing.Bitmap Input Image
return System.Drawing.Bitmap

Tools() public method

public Tools ( ) : System
return System