• SoftwareC/C++
  • OSC send add(*p, int size) to javaosc and return null object

I try to use OSC to communicate to a Java program by Javaosc. I have tried to send string, float or int and it returns the list<arguments> in Java. It's OK.
However, when I try to send a pointer pointing to a void buffer size, it returns a null object like [[]]. I have observed the oscpkt.h file and I find that all of them turn the data into bytes and store in the storage class. So when it does not work for the data of a buffer?

I think it is due to the type. The blob type may not be received by java right?

I have look insight the code again.
In c++, we will add a data type signal 'b' as blob.

In Javaosc, I have also found the code:
case 'b' : return readBlob(rawInput);
It is ok for the type.

I find the problem. BUt it is not easy to extract the data from the blob type. How can I send a large data package at one time?