21 for (
size_t i=0;
i<writer.
length();
i++) {
22 const char *data = writer.
data(
i);
38 if (
hdr.imgSize==-1) {
yarp::sig::FlexImage * checkForImage(yarp::os::SizedWriter &writer)
A mini-server for performing network communication in the background.
Minimal requirements for an efficient Writer.
virtual const char * data(size_t index) const =0
virtual size_t length() const =0
Image class with user control of representation details.
void setQuantum(size_t imgQuantum)
void setPixelCode(int imgPixelCode)
void setExternal(const void *data, size_t imgWidth, size_t imgHeight)
Use this to wrap an external image.
An interface to the operating system, including Port based communication.