C# 클래스 Mosa.Utility.BootImage.BlockFileStream

상속: Mosa.DeviceSystem.Device, IDiskDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BlockOffset uint

보호된 프로퍼티들

프로퍼티 타입 설명
diskFile System.IO.FileStream

공개 메소드들

메소드 설명
BlockFileStream ( string filename ) : System.IO

Initializes a new instance of the BlockFileStream class.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources

ReadBlock ( uint block, uint count, byte data ) : bool

Reads the block.

ReadBlock ( uint block, uint count ) : byte[]

Reads the block.

WriteBlock ( uint block, uint count, byte data ) : bool

Writes the block.

메소드 상세

BlockFileStream() 공개 메소드

Initializes a new instance of the BlockFileStream class.
public BlockFileStream ( string filename ) : System.IO
filename string The filename.
리턴 System.IO

Dispose() 공개 메소드

Releases unmanaged and - optionally - managed resources
public Dispose ( ) : void
리턴 void

ReadBlock() 공개 메소드

Reads the block.
public ReadBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
리턴 bool

ReadBlock() 공개 메소드

Reads the block.
public ReadBlock ( uint block, uint count ) : byte[]
block uint The block.
count uint The count.
리턴 byte[]

WriteBlock() 공개 메소드

Writes the block.
public WriteBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
리턴 bool

프로퍼티 상세

BlockOffset 공개적으로 프로퍼티

public uint BlockOffset
리턴 uint

diskFile 보호되어 있는 프로퍼티

protected FileStream,System.IO diskFile
리턴 System.IO.FileStream