cosc 0.1.0
OSC library for C99 or C++11.
|
A value. More...
#include <cosc.h>
Public Attributes | ||
cosc_int32 | i | |
32-bit signed integer. | ||
cosc_float32 | f | |
32-bit floating point. | ||
struct { | ||
const char * s | ||
A pointer to the string, when writing NULL indicates an empty string, when reading the string is never NULL even if the string has zero length. | ||
cosc_int32 length | ||
When writing read at most this many bytes from s , when reading this is the length excluding the zero terminator. | ||
} | s | |
String and symbol. | ||
struct { | ||
const void * b | ||
A pointer to the data, when writing NULL will fill write zeroes, when reading NULL indicates a zero size blob. | ||
cosc_int32 size | ||
The size of the blob data in bytes. | ||
} | b | |
Blob. | ||
cosc_int64 | h | |
64-bit signed integer. | ||
cosc_uint64 | t | |
64-bit unsigned integer (timetag). | ||
cosc_float64 | d | |
64-bit floating point. | ||
cosc_int32 | c | |
8-bit unsigned integer (ASCII character). | ||
cosc_uint32 | r | |
32-bit unsigned integer. | ||
unsigned char | m [4] | |
MIDI message. | ||
unsigned char cosc_value::m[4] |
MIDI message.