return ((SI::Descriptor *)nativeData)->getLength()-sizeof(SI::DescriptorHeader);
return SiDescriptorNativeData(nativeData).Get()->getLength()-sizeof(SI::DescriptorHeader);
jshort Java_org_dvb_si_Descriptor_getLength(JNIEnv* env, jobject obj, jlong nativeData) {   //libsi always returns the size including the header, but the java API only wants   //the content length, so the sizeof(DescriptorHeader) must be subtracted.   return ((SI::Descriptor *)nativeData)->getLength()-sizeof(SI::DescriptorHeader);}