C# Class SharpOS.Kernel.FileSystem.FATFileSystem.FATFileStream

Inheritance: Stream
Afficher le fichier Open project: sharpos/SharpOS

Protected Properties

Свойство Type Description
clusterSize uint
currentCluster uint
data byte[]
directoryIndex uint
directorySector uint
dirty bool
fs FAT
length long
lengthOnDisk long
nthCluster uint
position long
read bool
startCluster uint
write bool

Méthodes publiques

Méthode Description
FATFileStream ( FAT fs, uint startCluster, uint directorySector, uint directoryIndex ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Méthodes protégées

Méthode Description
NextCluster ( ) : void
ReadCluster ( uint cluster ) : void

Method Details

FATFileStream() public méthode

public FATFileStream ( FAT fs, uint startCluster, uint directorySector, uint directoryIndex ) : System
fs FAT
startCluster uint
directorySector uint
directoryIndex uint
Résultat System

Flush() public méthode

public Flush ( ) : void
Résultat void

NextCluster() protected méthode

protected NextCluster ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

ReadCluster() protected méthode

protected ReadCluster ( uint cluster ) : void
cluster uint
Résultat void

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void

Property Details

clusterSize protected_oe property

protected uint clusterSize
Résultat uint

currentCluster protected_oe property

protected uint currentCluster
Résultat uint

data protected_oe property

protected byte[] data
Résultat byte[]

directoryIndex protected_oe property

protected uint directoryIndex
Résultat uint

directorySector protected_oe property

protected uint directorySector
Résultat uint

dirty protected_oe property

protected bool dirty
Résultat bool

fs protected_oe property

protected FAT,SharpOS.Kernel.FileSystem.FATFileSystem fs
Résultat FAT

length protected_oe property

protected long length
Résultat long

lengthOnDisk protected_oe property

protected long lengthOnDisk
Résultat long

nthCluster protected_oe property

protected uint nthCluster
Résultat uint

position protected_oe property

protected long position
Résultat long

read protected_oe property

protected bool read
Résultat bool

startCluster protected_oe property

protected uint startCluster
Résultat uint

write protected_oe property

protected bool write
Résultat bool