OSCPacker Class Reference

Serialize data, OSC style. More...

#include <OSCPacker.h>

List of all members.

Public Member Functions

virtual void init ()
virtual void reset ()
virtual bool packInt (int32_t)
virtual bool packHyper (int64_t)
virtual bool packFloat (float)
virtual bool packDouble (double)
virtual bool packString (const std::string *)
virtual bool packString (const char *)
virtual bool packBlob (const char *, int bytes)
virtual std::string getData ()

Protected Member Functions

std::string * getDataPointer ()
bool appendFourBytes (char *bytes)
bool appendEightBytes (char *bytes)
bool appendBytes (char *bytes, int count)
void padString (std::string *data)
 Pads the given string to a multiple of four bytes.
virtual bool packBytes (const char *, int bytes)


Detailed Description

Serialize data, OSC style.

Manual typetags.

This class packs binary data into a string, where each piece of that data is aligned on a four-byte boundary.

Author:
Daniel Holth


The documentation for this class was generated from the following files:
Generated on Thu Mar 2 23:51:36 2006 for libOSC++ by  doxygen 1.4.6