Access to two dimensional array stored in C header file from Kotlin

Hello everyone! here’s my first question on this forum. :wink:

I’m creating an app in Android Studio. I have my programs working on other platforms which are written in C. I have a header files (*.h) in which I have stored two dimensional arrays, similar to this:

const uint8_t array[3][4] = {
{ 41 , 89 , 54 , 137 },
{ 43 , 91 , 118 , 139 },
{ 45 , 93 , 182 , 141 }
};

I would like to attach this file to my program, and read value directly from them, let’s say like this:

val value: Byte = array[1][2] //maybe use with .toByte()

Is there any simple way which I can use to do so?

Greetings

You can refer the official documentation of Android NDK C/C++ code