Class InStreamWrapper

java.lang.Object
de.digitalcollections.openjpeg.InStreamWrapper

public abstract class InStreamWrapper
extends java.lang.Object
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected InStreamWrapper​(libopenjp2 lib)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    jnr.ffi.Pointer getNativeStream()  
    protected abstract long read​(jnr.ffi.Pointer outBuffer, long numBytes, jnr.ffi.Pointer userData)  
    protected abstract long skip​(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

      protected InStreamWrapper​(libopenjp2 lib)
  • 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()