Package de.digitalcollections.openjpeg
Class InStreamWrapper
java.lang.Object
de.digitalcollections.openjpeg.InStreamWrapper
public abstract class InStreamWrapper
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protectedInStreamWrapper(libopenjp2 lib) -
Method Summary
Modifier and Type Method Description voidclose()jnr.ffi.PointergetNativeStream()protected abstract longread(jnr.ffi.Pointer outBuffer, long numBytes, jnr.ffi.Pointer userData)protected abstract longskip(long numBytes, jnr.ffi.Pointer userData)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InStreamWrapper
-
-
Method Details
-
getNativeStream
public jnr.ffi.Pointer getNativeStream() -
read
protected abstract long read(jnr.ffi.Pointer outBuffer, long numBytes, jnr.ffi.Pointer userData) -
skip
protected abstract long skip(long numBytes, jnr.ffi.Pointer userData) -
close
public void close()
-