summaryrefslogtreecommitdiff
path: root/platform/java/mupdf_native.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/java/mupdf_native.h')
-rw-r--r--platform/java/mupdf_native.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/platform/java/mupdf_native.h b/platform/java/mupdf_native.h
index e56e43af..e3902a21 100644
--- a/platform/java/mupdf_native.h
+++ b/platform/java/mupdf_native.h
@@ -94,6 +94,30 @@ JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_Buffer_getLength
/*
* Class: com_artifex_mupdf_fitz_Buffer
+ * Method: readByte
+ * Signature: (I)I
+ */
+JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_Buffer_readByte
+ (JNIEnv *, jobject, jint);
+
+/*
+ * Class: com_artifex_mupdf_fitz_Buffer
+ * Method: readBytes
+ * Signature: (I[B)I
+ */
+JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_Buffer_readBytes
+ (JNIEnv *, jobject, jint, jbyteArray);
+
+/*
+ * Class: com_artifex_mupdf_fitz_Buffer
+ * Method: readBytesInto
+ * Signature: (I[BII)I
+ */
+JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_Buffer_readBytesInto
+ (JNIEnv *, jobject, jint, jbyteArray, jint, jint);
+
+/*
+ * Class: com_artifex_mupdf_fitz_Buffer
* Method: writeByte
* Signature: (B)V
*/
@@ -110,6 +134,14 @@ JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Buffer_writeBytes
/*
* Class: com_artifex_mupdf_fitz_Buffer
+ * Method: writeBytesFrom
+ * Signature: ([BII)V
+ */
+JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Buffer_writeBytesFrom
+ (JNIEnv *, jobject, jbyteArray, jint, jint);
+
+/*
+ * Class: com_artifex_mupdf_fitz_Buffer
* Method: writeBuffer
* Signature: (Lcom/artifex/mupdf/fitz/Buffer;)V
*/