Beispiel #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;
 }
Beispiel #2
0
 internal DirectoryEntry(FatFileSystemOptions options, string name, FatAttributes attrs)
 {
     _options = options;
     _name    = name;
     _attr    = (byte)attrs;
 }
Beispiel #3
0
 internal DirectoryEntry(FatFileSystemOptions options, Stream stream)
 {
     _options = options;
     byte[] buffer = Utilities.ReadFully(stream, 32);
     Load(buffer, 0);
 }