C# 클래스 System.Windows.Forms.FileByteProvider

Byte provider for (big) files.
상속: IByteProvider, IDisposable
파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils

공개 메소드들

메소드 설명
ApplyChanges ( ) : void

Updates the file with all changes the write buffer contains.

DeleteBytes ( long index, long length ) : void

Not supported

Dispose ( ) : void

Releases the file handle used by the FileByteProvider.

FileByteProvider ( string fileName ) : System

Initializes a new instance of the FileByteProvider class.

HasChanges ( ) : bool

Returns a value if there are some changes.

InsertBytes ( long index, byte bs ) : void

Not supported

ReadByte ( long index ) : byte

Reads a byte from the file.

RejectChanges ( ) : void

Clears the write buffer and reject all changes made.

SupportsDeleteBytes ( ) : bool

Returns false

SupportsInsertBytes ( ) : bool

Returns false

SupportsWriteByte ( ) : bool

Returns true

WriteByte ( long index, byte value ) : void

Writes a byte into write buffer

비공개 메소드들

메소드 설명
OnChanged ( EventArgs e ) : void

Raises the Changed event.

Never used.

메소드 상세

ApplyChanges() 공개 메소드

Updates the file with all changes the write buffer contains.
public ApplyChanges ( ) : void
리턴 void

DeleteBytes() 공개 메소드

Not supported
public DeleteBytes ( long index, long length ) : void
index long
length long
리턴 void

Dispose() 공개 메소드

Releases the file handle used by the FileByteProvider.
public Dispose ( ) : void
리턴 void

FileByteProvider() 공개 메소드

Initializes a new instance of the FileByteProvider class.
public FileByteProvider ( string fileName ) : System
fileName string
리턴 System

HasChanges() 공개 메소드

Returns a value if there are some changes.
public HasChanges ( ) : bool
리턴 bool

InsertBytes() 공개 메소드

Not supported
public InsertBytes ( long index, byte bs ) : void
index long
bs byte
리턴 void

ReadByte() 공개 메소드

Reads a byte from the file.
public ReadByte ( long index ) : byte
index long the index of the byte to read
리턴 byte

RejectChanges() 공개 메소드

Clears the write buffer and reject all changes made.
public RejectChanges ( ) : void
리턴 void

SupportsDeleteBytes() 공개 메소드

Returns false
public SupportsDeleteBytes ( ) : bool
리턴 bool

SupportsInsertBytes() 공개 메소드

Returns false
public SupportsInsertBytes ( ) : bool
리턴 bool

SupportsWriteByte() 공개 메소드

Returns true
public SupportsWriteByte ( ) : bool
리턴 bool

WriteByte() 공개 메소드

Writes a byte into write buffer
public WriteByte ( long index, byte value ) : void
index long
value byte
리턴 void