  | 
  
    YARP 
   Yet Another Robot Platform 
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.
   10 #ifndef YARP_OS_MANAGEDBYTES_H 
   11 #define YARP_OS_MANAGEDBYTES_H 
   86     void allocate(
size_t len);
 
   88     bool allocateOnNeed(
size_t neededLen, 
size_t allocateLen);
 
   98     size_t length() 
const;
 
  109     const char* get() 
const;
 
  125     const Bytes& bytes() 
const;
 
  148     size_t setUsed(
size_t used);
 
  178 #endif // YARP_OS_MANAGEDBYTES_H 
  
 
This is a base class for objects that can be both read from and be written to the YARP network.
 
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
 
An abstraction for a block of bytes, with optional responsibility for allocating/destroying that bloc...
 
An interface for writing to a network connection.
 
A simple abstraction for a block of bytes.
 
An interface for reading from a network connection.
 
The main, catch-all namespace for YARP.
 
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)