#include <OSCPacker.h>
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) |
Manual typetags.
This class packs binary data into a string, where each piece of that data is aligned on a four-byte boundary.