C# Class SharpBoot.DiskStream

Inheritance: Stream
Datei anzeigen Open project: zdimension/SharpBoot

Public Methods

Method Description
Close ( ) : void
DiskStream ( string diskID, FileAccess desiredAccess ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Read ( byte buffer, uint offset, uint count ) : uint
Seek ( long offset, SeekOrigin origin ) : long
SeekU ( ulong offset, SeekOrigin origin ) : ulong
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
Write ( byte buffer, uint offset, uint count ) : void

Private Methods

Method Description
openFile ( string id, FileAccess desiredAccess ) : SafeFileHandle

Method Details

Close() public method

public Close ( ) : void
return void

DiskStream() public method

public DiskStream ( string diskID, FileAccess desiredAccess ) : System
diskID string
desiredAccess FileAccess
return System

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Read() public method

public Read ( byte buffer, uint offset, uint count ) : uint
buffer byte
offset uint
count uint
return uint

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SeekU() public method

public SeekU ( ulong offset, SeekOrigin origin ) : ulong
offset ulong
origin SeekOrigin
return ulong

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Write() public method

public Write ( byte buffer, uint offset, uint count ) : void
buffer byte
offset uint
count uint
return void