public CCorruptObjectDescriptorBlock(CBackupStream backupStream)
 {
     base.ReadData(backupStream);
     CFilAttributes     = (ECFilAttributes)backupStream.ReadUInt32();
     Reserved           = backupStream.ReadUInt64();
     StreamOffset       = backupStream.ReadUInt64();
     CorrupStreamNumber = backupStream.ReadUInt16();
     base.ReadStreams(backupStream);
 }
 public CEndOfDataSetDescriptorBlock(CBackupStream backupStream)
 {
     base.ReadData(backupStream);
     ESETAttributes         = (ESSETAttributes)backupStream.ReadUInt32();
     NumberOfCorruptFiles   = backupStream.ReadUInt32();
     ReservedforMBC1        = backupStream.ReadUInt64();
     ReservedforMBC2        = backupStream.ReadUInt64();
     FDDMediaSequenceNumber = backupStream.ReadUInt16();
     DataSetNumber          = backupStream.ReadUInt16();
     MediaWriteDate         = backupStream.ReadDate();
     base.ReadStreams(backupStream);
 }
        /// <summary>
        /// Read block header.
        /// </summary>
        protected void ReadData(CBackupStream reader)
        {
            StartPosition = reader.BaseStream.Position;
            Streams       = new List <CDataStream>();

            BlockType          = (EBlockType)reader.ReadUInt32();
            Attributes         = (EBlockAttributes)reader.ReadUInt32();
            OffsetToFirstEvent = reader.ReadUInt16();
            OSID                 = (EOSID)reader.ReadByte();
            OSVersion            = reader.ReadByte();
            DisplayableSize      = reader.ReadUInt64();
            FormatLogicalAddress = reader.ReadUInt64();
            ReservedMBC          = reader.ReadUInt16();
            Reserved1            = reader.ReadUInt16();
            Reserved2            = reader.ReadUInt16();
            Reserved3            = reader.ReadUInt16();
            ControlBlock         = reader.ReadUInt32();
            Reserved4            = reader.ReadUInt32();
            OsSpecificData       = reader.ReadOsSpecificData(StartPosition, OSID, OSVersion, BlockType);
            StringType           = (EStringType)reader.ReadByte();
            Reserved5            = reader.ReadByte();
            HeaderChecksum       = reader.ReadUInt16();
        }
 public CStartOfDataSetDescriptorBlock(CBackupStream backupStream)
 {
     base.ReadData(backupStream);
     SSETAttributes = (ESSETAttributes)backupStream.ReadUInt32();
     PasswordEncryptionAlgorithm  = backupStream.ReadUInt16();
     SoftwareCompressionAlgorithm = backupStream.ReadUInt16();
     SoftwareVendorID             = backupStream.ReadUInt16();
     DataSetNumber        = backupStream.ReadUInt16();
     DataSetName          = backupStream.ReadString(StartPosition, StringType);
     DataSetDescription   = backupStream.ReadString(StartPosition, StringType);
     DataSetPassword      = backupStream.ReadString(StartPosition, StringType);
     UserName             = backupStream.ReadString(StartPosition, StringType);
     PhysicalBlockAddress = backupStream.ReadUInt64();
     MediaWriteDate       = backupStream.ReadDate();
     SoftwareMajorVersion = backupStream.ReadByte();
     SoftwareMinorVersion = backupStream.ReadByte();
     MTFTimeZone          = backupStream.ReadSByte();
     MTFMinorVersion      = backupStream.ReadByte();
     MediaCatalogVersion  = backupStream.ReadByte();
     base.ReadStreams(backupStream);
 }
 public CEndOfTapeMarkerDescriptorBlock(CBackupStream backupStream)
 {
     base.ReadData(backupStream);
     LastESETPBA = backupStream.ReadUInt64();
     base.ReadStreams(backupStream);
 }