Example #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)+"'.");
}
Example #2
0
File: flx.cpp Project: Accio/snap
void TFRnd::PutBf(const void* Bf, const int& BfL){
  RefreshFPos();
  EAssertR(
   int(fwrite(Bf, 1, BfL, FileId))==BfL,
   "Error writting to the file '"+FNm+"'.");
}
Example #3
0
void TFRnd::GetBf(void* Bf, const TSize& BfL){
  RefreshFPos();
  EAssertR(
   fread(Bf, 1, BfL, FileId)==BfL,
   "Error reading file '"+TStr(FNm)+"'.");
}
Example #4
0
File: flx.cpp Project: Accio/snap
void TFRnd::GetBf(void* Bf, const int& BfL){
  RefreshFPos();
  EAssertR(
   int(fread(Bf, 1, BfL, FileId))==BfL,
   "Error reading file '"+FNm+"'.");
}