SQLite
class BlobR extends InputStream
Field Summary | |
---|---|
Blob | blob
Blob instance |
int | pos
Read position, file pointer. |
Constructor Summary | |
---|---|
BlobR(Blob blob)
Contruct InputStream from blob instance. |
Method Summary | |
---|---|
int | available()
Return number of available bytes for reading. |
void | close()
Close this blob InputStream. |
void | mark(int limit)
Mark method; dummy to satisfy InputStream class. |
boolean | markSupported()
Mark support; not for this class. |
int | read()
Read single byte from blob. |
int | read(byte[] b)
Read byte array from blob. |
int | read(byte[] b, int off, int len)
Read slice of byte array from blob. |
void | reset()
Reset method; dummy to satisfy InputStream class. |
long | skip(long n)
Skip over blob data. |
Returns: available input bytes
Returns: always false
Returns: byte read
Parameters: b byte array to be filled
Returns: number of bytes read
Parameters: b byte array to be filled off offset into byte array len length to be read
Returns: number of bytes read