Created
November 16, 2022 09:55
-
-
Save mebjas/277a44602a216b7d052e792b91dd8264 to your computer and use it in GitHub Desktop.
Java part of JNI library for reading image in JNI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Wrapper class for loading image in native layer. */ | |
public final class NativeImageLoader { | |
static { | |
System.loadLibrary("image-loader-jni"); | |
} | |
/** Reads the image represented by {@code fd} in native layer. | |
* | |
* <p>For apparently no reason! | |
* | |
* @return Some information about the file. | |
*/ | |
public static native String readFile(int fd); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment