C# 클래스 TinkerWorX.SharpCraft.Blizzard.Storm.SFile

파일 보기 프로젝트 열기: TinkerWorX/SharpCraft 1 사용 예제들

공개 메소드들

메소드 설명
GetFileSize ( IntPtr handle ) : int
GetFileSizeLong ( IntPtr handle ) : long
OpenFileEx ( IntPtr handle, string filename, uint mode ) : IntPtr
ReadFile ( IntPtr handle, byte buffer, int numberOfBytesToRead, int &numberOfBytesRead, int distanceToMoveHigh ) : int
ReadFileToEnd ( IntPtr handle ) : byte[]
SetFilePointer ( IntPtr handle, int filePosition, SeekOrigin moveMethod ) : int
SetFilePointer ( IntPtr handle, int filePosition, int &filePositionHigh, SeekOrigin moveMethod ) : int
SetFilePointer ( IntPtr handle, int filePosition, uint moveMethod ) : int
SetFilePointerLong ( IntPtr handle, long filePosition, SeekOrigin moveMethod ) : long
SetFilePointerLong ( IntPtr handle, long filePosition, uint moveMethod ) : long

비공개 메소드들

메소드 설명
CloseFile ( IntPtr handle ) : bool
GetFileSize ( IntPtr handle, int &fileSizeHigh ) : int
OpenFileEx ( IntPtr handle, string filename, uint mode, IntPtr &result ) : bool
ReadFile ( IntPtr handle, IntPtr buffer, int numberOfBytesToRead, int &numberOfBytesRead, int distanceToMoveHigh ) : int
SFile ( ) : System
SetFilePointer ( IntPtr handle, int filePosition, int &filePositionHigh, uint moveMethod ) : int

메소드 상세

GetFileSize() 공개 정적인 메소드

public static GetFileSize ( IntPtr handle ) : int
handle System.IntPtr
리턴 int

GetFileSizeLong() 공개 정적인 메소드

public static GetFileSizeLong ( IntPtr handle ) : long
handle System.IntPtr
리턴 long

OpenFileEx() 공개 정적인 메소드

public static OpenFileEx ( IntPtr handle, string filename, uint mode ) : IntPtr
handle System.IntPtr
filename string
mode uint
리턴 System.IntPtr

ReadFile() 공개 정적인 메소드

public static ReadFile ( IntPtr handle, byte buffer, int numberOfBytesToRead, int &numberOfBytesRead, int distanceToMoveHigh ) : int
handle System.IntPtr
buffer byte
numberOfBytesToRead int
numberOfBytesRead int
distanceToMoveHigh int
리턴 int

ReadFileToEnd() 공개 정적인 메소드

public static ReadFileToEnd ( IntPtr handle ) : byte[]
handle System.IntPtr
리턴 byte[]

SetFilePointer() 공개 정적인 메소드

public static SetFilePointer ( IntPtr handle, int filePosition, SeekOrigin moveMethod ) : int
handle System.IntPtr
filePosition int
moveMethod SeekOrigin
리턴 int

SetFilePointer() 공개 정적인 메소드

public static SetFilePointer ( IntPtr handle, int filePosition, int &filePositionHigh, SeekOrigin moveMethod ) : int
handle System.IntPtr
filePosition int
filePositionHigh int
moveMethod SeekOrigin
리턴 int

SetFilePointer() 공개 정적인 메소드

public static SetFilePointer ( IntPtr handle, int filePosition, uint moveMethod ) : int
handle System.IntPtr
filePosition int
moveMethod uint
리턴 int

SetFilePointerLong() 공개 정적인 메소드

public static SetFilePointerLong ( IntPtr handle, long filePosition, SeekOrigin moveMethod ) : long
handle System.IntPtr
filePosition long
moveMethod SeekOrigin
리턴 long

SetFilePointerLong() 공개 정적인 메소드

public static SetFilePointerLong ( IntPtr handle, long filePosition, uint moveMethod ) : long
handle System.IntPtr
filePosition long
moveMethod uint
리턴 long