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

Byte provider for a small amount of data.
상속: IByteProvider
파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils

공개 메소드들

메소드 설명
ApplyChanges ( ) : void

Applies changes.

DeleteBytes ( long index, long length ) : void

Deletes bytes from the byte collection.

DynamicByteProvider ( ByteCollection bytes ) : System

Initializes a new instance of the DynamicByteProvider class.

DynamicByteProvider ( byte data ) : System

Initializes a new instance of the DynamicByteProvider class.

HasChanges ( ) : bool

True, when changes are done.

InsertBytes ( long index, byte bs ) : void

Inserts byte into the byte collection.

ReadByte ( long index ) : byte

Reads a byte from the byte collection.

SupportsDeleteBytes ( ) : bool

Returns true

SupportsInsertBytes ( ) : bool

Returns true

SupportsWriteByte ( ) : bool

Returns true

WriteByte ( long index, byte value ) : void

Write a byte into the byte collection.

비공개 메소드들

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

Raises the Changed event.

OnLengthChanged ( EventArgs e ) : void

Raises the LengthChanged event.

메소드 상세

ApplyChanges() 공개 메소드

Applies changes.
public ApplyChanges ( ) : void
리턴 void

DeleteBytes() 공개 메소드

Deletes bytes from the byte collection.
public DeleteBytes ( long index, long length ) : void
index long the start index of the bytes to delete.
length long the length of bytes to delete.
리턴 void

DynamicByteProvider() 공개 메소드

Initializes a new instance of the DynamicByteProvider class.
public DynamicByteProvider ( ByteCollection bytes ) : System
bytes ByteCollection
리턴 System

DynamicByteProvider() 공개 메소드

Initializes a new instance of the DynamicByteProvider class.
public DynamicByteProvider ( byte data ) : System
data byte
리턴 System

HasChanges() 공개 메소드

True, when changes are done.
public HasChanges ( ) : bool
리턴 bool

InsertBytes() 공개 메소드

Inserts byte into the byte collection.
public InsertBytes ( long index, byte bs ) : void
index long the start index of the bytes in the byte collection
bs byte the byte array to insert
리턴 void

ReadByte() 공개 메소드

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

SupportsDeleteBytes() 공개 메소드

Returns true
public SupportsDeleteBytes ( ) : bool
리턴 bool

SupportsInsertBytes() 공개 메소드

Returns true
public SupportsInsertBytes ( ) : bool
리턴 bool

SupportsWriteByte() 공개 메소드

Returns true
public SupportsWriteByte ( ) : bool
리턴 bool

WriteByte() 공개 메소드

Write a byte into the byte collection.
public WriteByte ( long index, byte value ) : void
index long the index of the byte to write.
value byte the byte
리턴 void