| java.lang.Object java.io.InputStream com.caucho.db.store.BlobInputStream
Method Summary | |
public void | close() Closes the buffer. | public void | init(Store store, byte[] inode, int inodeOffset) Initialize the output stream. | public int | read() Reads a byte. | public int | read(byte[] buf, int offset, int length) Reads a buffer. | public static long | readLong(byte[] buffer, int offset) Writes the long. |
BlobInputStream | public BlobInputStream(Store store, byte[] inode, int inodeOffset)(Code) | | Creates a blob output stream.
Parameters: store - the output store |
BlobInputStream | public BlobInputStream(Inode inode)(Code) | | Creates a blob output stream.
Parameters: store - the output store |
close | public void close()(Code) | | Closes the buffer.
|
init | public void init(Store store, byte[] inode, int inodeOffset)(Code) | | Initialize the output stream.
|
read | public int read(byte[] buf, int offset, int length) throws IOException(Code) | | Reads a buffer.
|
readLong | public static long readLong(byte[] buffer, int offset)(Code) | | Writes the long.
|
|
|