C# 클래스 SharpUV.File

상속: IDisposable
파일 보기 프로젝트 열기: gigi81/sharpuv

공개 메소드들

메소드 설명
Close ( Action callback = null ) : void

Closes the stream. After this call the stream will not be valid

Dispose ( ) : void

Dispose the object freeing unmanaged resources allocated

File ( ) : System
File ( Loop loop ) : System
Open ( string path, FileAccessMode access, FileOpenMode mode, FilePermissions permissions, Action callback = null ) : void
OpenAppend ( string path, Action callback = null ) : void
OpenRead ( string path, Action callback = null ) : void
OpenWrite ( string path, Action callback = null ) : void
Read ( Action callback = null ) : void
Read ( uint length, Action callback = null ) : void

Read from the file

Write ( byte data, Action callback = null ) : void
Write ( byte data, int offset, int length, Action callback = null ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
OnClose ( UvArgs args ) : void
OnOpen ( UvArgs args ) : void
OnRead ( UvDataArgs args ) : void
OnWrite ( UvDataArgs args ) : void

비공개 메소드들

메소드 설명
CheckError ( int code ) : void
CreateRequest ( ) : IntPtr
CreateRequest ( byte data, int offset, int length ) : IntPtr
CreateRequest ( uint length ) : IntPtr
FreeReadRequest ( IntPtr req ) : UvDataArgs
FreeRequest ( IntPtr req ) : Int32
InitDelegates ( ) : void
OnClose ( IntPtr req ) : void
OnOpen ( IntPtr req ) : void
OnRead ( IntPtr req ) : void
OnWrite ( IntPtr req ) : void
uv_fs_open ( Loop loop, IntPtr req, string path, FileAccessMode rw, FileOpenMode open, FilePermissions permissions, uv_fs_cb cb ) : int

메소드 상세

Close() 공개 메소드

Closes the stream. After this call the stream will not be valid
public Close ( Action callback = null ) : void
callback Action
리턴 void

Dispose() 공개 메소드

Dispose the object freeing unmanaged resources allocated
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

File() 공개 메소드

public File ( ) : System
리턴 System

File() 공개 메소드

public File ( Loop loop ) : System
loop Loop
리턴 System

OnClose() 보호된 메소드

protected OnClose ( UvArgs args ) : void
args UvArgs
리턴 void

OnOpen() 보호된 메소드

protected OnOpen ( UvArgs args ) : void
args UvArgs
리턴 void

OnRead() 보호된 메소드

protected OnRead ( UvDataArgs args ) : void
args UvDataArgs
리턴 void

OnWrite() 보호된 메소드

protected OnWrite ( UvDataArgs args ) : void
args UvDataArgs
리턴 void

Open() 공개 메소드

public Open ( string path, FileAccessMode access, FileOpenMode mode, FilePermissions permissions, Action callback = null ) : void
path string
access FileAccessMode
mode FileOpenMode
permissions FilePermissions
callback Action
리턴 void

OpenAppend() 공개 메소드

public OpenAppend ( string path, Action callback = null ) : void
path string
callback Action
리턴 void

OpenRead() 공개 메소드

public OpenRead ( string path, Action callback = null ) : void
path string
callback Action
리턴 void

OpenWrite() 공개 메소드

public OpenWrite ( string path, Action callback = null ) : void
path string
callback Action
리턴 void

Read() 공개 메소드

public Read ( Action callback = null ) : void
callback Action
리턴 void

Read() 공개 메소드

Read from the file
public Read ( uint length, Action callback = null ) : void
length uint
callback Action
리턴 void

Write() 공개 메소드

public Write ( byte data, Action callback = null ) : void
data byte
callback Action
리턴 void

Write() 공개 메소드

public Write ( byte data, int offset, int length, Action callback = null ) : void
data byte
offset int
length int
callback Action
리턴 void