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