org.sqlite.io
Class MemoryInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.sqlite.io.InputStreamAdapter
          extended by org.sqlite.io.MemoryInputStream
All Implemented Interfaces:
java.io.Closeable

public class MemoryInputStream
extends InputStreamAdapter


Constructor Summary
MemoryInputStream(Closeable owner, SWIGTYPE_p_void blob, long len)
          default constructor.
 
Method Summary
protected  void read(long pos, byte[] b, int off, int len)
           
 
Methods inherited from class org.sqlite.io.InputStreamAdapter
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryInputStream

public MemoryInputStream(Closeable owner,
                         SWIGTYPE_p_void blob,
                         long len)
default constructor.

Parameters:
owner - the owner Closeable object
blob - pointer of BLOB object
len - the number of bytes
Method Detail

read

protected void read(long pos,
                    byte[] b,
                    int off,
                    int len)
Specified by:
read in class InputStreamAdapter