- if (strcmp(type, "byte[]") == 0) {
- retObj = (vector<char>*) paramBytes;
- } else if (strcmp(type, "short[]") == 0) {
+ if ((strcmp(type, "byte*") == 0) ||
+ (strcmp(type, "Byte*") == 0) ||
+ (strcmp(type, "vector<Byte>") == 0)) {
+ retObj = byteArrayToByteArray((vector<char>*) retObj, paramBytes, len);
+ } else if ( (strcmp(type, "short*") == 0) ||
+ (strcmp(type, "Short*") == 0) ||
+ (strcmp(type, "vector<Short>") == 0)) {