fFile->seekp(currentFilePos);
}
}
+
+//_____________________________________________________________________________
+Bool_t AliAltroBuffer::ReadDataHeader()
+{
+//Read the DDL data header at the beginning of the file,
+//returns true in case of valid data
+
+ AliRawDataHeader header;
+ UInt_t currentPos = fFile->tellp();
+ fFile->seekp(0);
+ if (!fFile->read((char*)(&header), sizeof(header))) return kFALSE;
+ fDataHeaderPos = fFile->tellp();
+ fFile->seekp(currentPos);
+ return header.TestAttribute(0);
+}
void WriteDataHeader(Bool_t dummy, Bool_t compressed);
//this method is used to write the data header
+ Bool_t ReadDataHeader();
+ //this method is used to read the data header
void SetVerbose(Int_t val) {fVerbose = val;}
//this method is used to set the verbose level
//level 0 no output messages