- Jun 6, 2020
- 11,559
- 4,422
Hello, I'm creating a wrapper for an image processing library.
Some of the properties return (void *) data type.
My question is how can I return this data from a wrapper so that I can send it as a parameter to the Objective C methods from B4I.
I wrapped the void pointer with NSData. And then wrapped it with B4IArray. But when I am trying to get the buffer in the ObjC code like b4iarray.bytesData.bytes that is showing a broken image.
Objective-C:
Is any specific way to wrap the void pointer in B4I or not? If not then how to access this type of data?
Some of the properties return (void *) data type.
My question is how can I return this data from a wrapper so that I can send it as a parameter to the Objective C methods from B4I.
برای دیدن تصاویر باید ثبت نام کنید
I wrapped the void pointer with NSData. And then wrapped it with B4IArray. But when I am trying to get the buffer in the ObjC code like b4iarray.bytesData.bytes that is showing a broken image.
Objective-C:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Is any specific way to wrap the void pointer in B4I or not? If not then how to access this type of data?
برای دیدن لینک ها باید ثبت نام کنید