cargo file descriptor interface
More...
|
template<class Cargo > |
void | cargo::loadFromFD (const int fd, Cargo &visitable) |
| Load binary data from a file/socket/pipe represented by the fd. More...
|
|
template<class Cargo > |
void | cargo::saveToFD (const int fd, const Cargo &visitable) |
| Save binary data to a file/socket/pipe represented by the fd. More...
|
|
cargo file descriptor interface
template<class Cargo >
void cargo::loadFromFD |
( |
const int |
fd, |
|
|
Cargo & |
visitable |
|
) |
| |
Load binary data from a file/socket/pipe represented by the fd.
- Parameters
-
fd | file descriptor |
visitable | visitable structure to load |
template<class Cargo >
void cargo::saveToFD |
( |
const int |
fd, |
|
|
const Cargo & |
visitable |
|
) |
| |
Save binary data to a file/socket/pipe represented by the fd.
- Parameters
-
fd | file descriptor |
visitable | visitable structure to save |