7#ifndef YARP_OS_BINPORTABLE_INL_H
8#define YARP_OS_BINPORTABLE_INL_H
26 connection.expectBlock((
char*)(&t),
sizeof(T));
33 connection.appendBlock((
char*)(&t),
sizeof(T));
bool read(ConnectionReader &connection) override
Read this object from a network connection.
bool write(ConnectionWriter &connection) const override
Write this object to a network connection.
T & content()
Get the internal structure that will be read or written.
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
An interface for writing to a network connection.