I am using JNA for access to native functions. In my native function one my method is returning byte pointer. How could I get same byte array values as return in JNA? I have tried by getting as string and convert it to bytes but it's not working.
This is my code:
BYTE* GetImageDate(); // in C++