Exemple #1
0
void TFRnd::PutBf(const void* Bf, const TSize& BfL){
  RefreshFPos();
  EAssertR(
   fwrite(Bf, 1, BfL, FileId)==BfL,
   "Error writting to the file '"+TStr(FNm)+"'.");
}
Exemple #2
0
void TFRnd::PutBf(const void* Bf, const int& BfL){
  RefreshFPos();
  EAssertR(
   int(fwrite(Bf, 1, BfL, FileId))==BfL,
   "Error writting to the file '"+FNm+"'.");
}
Exemple #3
0
void TFRnd::GetBf(void* Bf, const TSize& BfL){
  RefreshFPos();
  EAssertR(
   fread(Bf, 1, BfL, FileId)==BfL,
   "Error reading file '"+TStr(FNm)+"'.");
}
Exemple #4
0
void TFRnd::GetBf(void* Bf, const int& BfL){
  RefreshFPos();
  EAssertR(
   int(fread(Bf, 1, BfL, FileId))==BfL,
   "Error reading file '"+FNm+"'.");
}