vvopensource
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
OSCPacket.h
1 
2 #if IPHONE
3 #import <UIKit/UIKit.h>
4 #else
5 #import <Cocoa/Cocoa.h>
6 #endif
7 
8 #include <stdio.h>
9 #import "OSCBundle.h"
10 #import "OSCMessage.h"
11 
12 
13 
15 
20 @interface OSCPacket : NSObject {
21  long bufferLength;
22  unsigned char *payload;
23 }
24 
25 + (void) parseRawBuffer:(unsigned char *)b ofMaxLength:(int)l toInPort:(id)p fromAddr:(unsigned int)txAddr port:(unsigned short)txPort;
27 + (id) createWithContent:(id)c;
28 - (id) initWithContent:(id)c;
29 
30 - (long) bufferLength;
31 - (unsigned char *) payload;
32 
33 @end
Used to parse raw OSC data or to assemble raw OSC data from OSCMessages/OSCBundles.
Definition: OSCPacket.h:20