Esempio n. 1
0
 internal DirectoryEntry(DirectoryEntry toCopy)
 {
     _options           = toCopy._options;
     _name              = toCopy._name;
     _attr              = toCopy._attr;
     _creationTimeTenth = toCopy._creationTimeTenth;
     _creationTime      = toCopy._creationTime;
     _creationDate      = toCopy._creationDate;
     _lastAccessDate    = toCopy._lastAccessDate;
     _firstClusterHi    = toCopy._firstClusterHi;
     _lastWriteTime     = toCopy._lastWriteTime;
     _firstClusterLo    = toCopy._firstClusterLo;
     _fileSize          = toCopy._fileSize;
 }
Esempio n. 2
0
 internal DirectoryEntry(DirectoryEntry toCopy)
 {
     _options = toCopy._options;
     _name = toCopy._name;
     _attr = toCopy._attr;
     _creationTimeTenth = toCopy._creationTimeTenth;
     _creationTime = toCopy._creationTime;
     _creationDate = toCopy._creationDate;
     _lastAccessDate = toCopy._lastAccessDate;
     _firstClusterHi = toCopy._firstClusterHi;
     _lastWriteTime = toCopy._lastWriteTime;
     _firstClusterLo = toCopy._firstClusterLo;
     _fileSize = toCopy._fileSize;
 }
Esempio n. 3
0
 internal DirectoryEntry(FatFileSystemOptions options, FileName name, FatAttributes attrs)
 {
     _options = options;
     _name    = name;
     _attr    = (byte)attrs;
 }
Esempio n. 4
0
 internal DirectoryEntry(FatFileSystemOptions options, Stream stream)
 {
     _options = options;
     byte[] buffer = Utilities.ReadFully(stream, 32);
     Load(buffer, 0);
 }
Esempio n. 5
0
 internal DirectoryEntry(FatFileSystemOptions options, FileName name, FatAttributes attrs)
 {
     _options = options;
     _name = name;
     _attr = (byte)attrs;
 }
Esempio n. 6
0
 internal DirectoryEntry(FatFileSystemOptions options, Stream stream)
 {
     _options = options;
     byte[] buffer = Utilities.ReadFully(stream, 32);
     Load(buffer, 0);
 }