simple example showing how to create a bundle with a single message
#include <string.h>
#define NUM_BYTES 65536
int main(int ac, char **av)
{
char bytes[NUM_BYTES];
ose_bundle bundle = ose_newBundleFromCBytes(NUM_BYTES, bytes);
ose_pushMessage(bundle,
"/hello",
strlen("/hello"),
1,
OSETT_STRING,
"world!");
ose_pushMessage(bundle,
"/list",
strlen("/list"),
3,
OSETT_INT32,
1,
OSETT_INT32,
2,
OSETT_INT32,
3);
return 0;
}
provides global definitions and types
contains functions that structure an OSC bundle for use with other parts of this library
contains functions that manipulate the structure and contents of an OSE bundle and its elements