summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libopenjpeg/cio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libopenjpeg/cio.h b/libopenjpeg/cio.h
index c75a4653..e24f77d1 100644
--- a/libopenjpeg/cio.h
+++ b/libopenjpeg/cio.h
@@ -94,4 +94,14 @@ unsigned int cio_read(int n);
*/
void cio_skip(int n);
+/*
+ * Read n bytes, copy to buffer
+ */
+void cio_read_to_buf(unsigned char* buf, int n);/* Glenn Pearson adds */
+
+/*
+ * Write n bytes, copy from buffer
+ */
+void cio_write_from_buf(unsigned char* buf, int n);/* Glenn Pearson adds */
+
#endif