FEDEM Model Database  R8.0
Source code of the FEDEM model database
Functions
Fi Namespace Reference

File handling utilities. More...

Functions

template<class T >
size_t readSwapped (char *q, T &, FT_FILE fd)
 Reads a data word of type T with byte swapping. More...
 
template<class T >
size_t writeSwapped (const T val, FT_FILE fd)
 Writes the data word val with byte swapping. More...
 

Detailed Description

File handling utilities.

Function Documentation

◆ readSwapped()

template<class T >
size_t Fi::readSwapped ( char *  q,
T &  ,
FT_FILE  fd 
)

Reads a data word of type T with byte swapping.

◆ writeSwapped()

template<class T >
size_t Fi::writeSwapped ( const T  val,
FT_FILE  fd 
)

Writes the data word val with byte swapping.