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

Implements a fully editable byte provider for file data of any size.
Only changes to the file are stored in memory with reads from the original data occurring as required.
상속: IByteProvider, IDisposable
파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils 1 사용 예제들

공개 메소드들

메소드 설명
ApplyChanges ( ) : void

See IByteProvider.ApplyChanges for more information.

DeleteBytes ( long index, long length ) : void

See IByteProvider.DeleteBytes for more information.

Dispose ( ) : void

See IDisposable.Dispose for more information.

DynamicFileByteProvider ( string fileName ) : System

Constructs a new DynamicFileByteProvider instance.

DynamicFileByteProvider ( string fileName, bool readOnly ) : System

Constructs a new DynamicFileByteProvider instance.

HasChanges ( ) : bool

See IByteProvider.HasChanges for more information.

InsertBytes ( long index, byte bs ) : void

See IByteProvider.InsertBytes for more information.

ReadByte ( long index ) : byte

See IByteProvider.ReadByte for more information.

SupportsDeleteBytes ( ) : bool

See IByteProvider.SupportsDeleteBytes for more information.

SupportsInsertBytes ( ) : bool

See IByteProvider.SupportsInsertBytes for more information.

SupportsWriteByte ( ) : bool

See IByteProvider.SupportsWriteByte for more information.

WriteByte ( long index, byte value ) : void

See IByteProvider.WriteByte for more information.

비공개 메소드들

메소드 설명
GetDataBlock ( long findOffset, long &blockOffset ) : DataBlock
GetNextFileDataBlock ( DataBlock block, long dataOffset, long &nextDataOffset ) : System.Windows.Forms.FileDataBlock
MoveFileBlock ( System.Windows.Forms.FileDataBlock fileBlock, long dataOffset ) : void
OnChanged ( EventArgs e ) : void
OnLengthChanged ( EventArgs e ) : void
ReInitialize ( ) : void
ReadByteFromFile ( long fileOffset ) : byte

메소드 상세

ApplyChanges() 공개 메소드

See IByteProvider.ApplyChanges for more information.
public ApplyChanges ( ) : void
리턴 void

DeleteBytes() 공개 메소드

See IByteProvider.DeleteBytes for more information.
public DeleteBytes ( long index, long length ) : void
index long
length long
리턴 void

Dispose() 공개 메소드

See IDisposable.Dispose for more information.
public Dispose ( ) : void
리턴 void

DynamicFileByteProvider() 공개 메소드

Constructs a new DynamicFileByteProvider instance.
public DynamicFileByteProvider ( string fileName ) : System
fileName string The name of the file from which bytes should be provided.
리턴 System

DynamicFileByteProvider() 공개 메소드

Constructs a new DynamicFileByteProvider instance.
public DynamicFileByteProvider ( string fileName, bool readOnly ) : System
fileName string The name of the file from which bytes should be provided.
readOnly bool
리턴 System

HasChanges() 공개 메소드

See IByteProvider.HasChanges for more information.
public HasChanges ( ) : bool
리턴 bool

InsertBytes() 공개 메소드

See IByteProvider.InsertBytes for more information.
public InsertBytes ( long index, byte bs ) : void
index long
bs byte
리턴 void

ReadByte() 공개 메소드

See IByteProvider.ReadByte for more information.
public ReadByte ( long index ) : byte
index long
리턴 byte

SupportsDeleteBytes() 공개 메소드

See IByteProvider.SupportsDeleteBytes for more information.
public SupportsDeleteBytes ( ) : bool
리턴 bool

SupportsInsertBytes() 공개 메소드

See IByteProvider.SupportsInsertBytes for more information.
public SupportsInsertBytes ( ) : bool
리턴 bool

SupportsWriteByte() 공개 메소드

See IByteProvider.SupportsWriteByte for more information.
public SupportsWriteByte ( ) : bool
리턴 bool

WriteByte() 공개 메소드

See IByteProvider.WriteByte for more information.
public WriteByte ( long index, byte value ) : void
index long
value byte
리턴 void