• Home
  • Raw
  • Download

Lines Matching full:blob

7  * SQLite 3.4.0 incremental blob I/O interface.
13 * Blob instance
16 private Blob blob; field in BlobR
25 * Contruct InputStream from blob instance.
28 BlobR(Blob blob) { in BlobR() argument
29 this.blob = blob; in BlobR()
39 int ret = blob.size - pos; in available()
67 * Close this blob InputStream.
71 blob.close(); in close()
72 blob = null; in close()
77 * Skip over blob data.
85 } else if (ret > blob.size) { in skip()
86 ret = blob.size; in skip()
87 pos = blob.size; in skip()
95 * Read single byte from blob.
101 int n = blob.read(b, 0, pos, b.length); in read()
110 * Read byte array from blob.
116 int n = blob.read(b, 0, pos, b.length); in read()
125 * Read slice of byte array from blob.
142 int n = blob.read(b, off, pos, len); in read()
153 * SQLite 3.4.0 incremental blob I/O interface.
159 * Blob instance
162 private Blob blob; field in BlobW
171 * Contruct OutputStream from blob instance.
174 BlobW(Blob blob) { in BlobW() argument
175 this.blob = blob; in BlobW()
180 * Flush blob; dummy to satisfy OutputStream class.
187 * Close this blob OutputStream.
191 blob.close(); in close()
192 blob = null; in close()
197 * Write blob data.
204 pos += blob.write(b, 0, pos, 1); in write()
208 * Write blob data.
214 pos += blob.write(b, 0, pos, b.length); in write()
219 * Write blob data.
233 pos += blob.write(b, off, pos, len); in write()
239 * Class to represent SQLite3 3.4.0 incremental blob I/O interface.
247 public class Blob { class
250 * Internal handle for the SQLite3 blob.
256 * Cached size of blob, setup right after blob
263 * Return InputStream for this blob
272 * Return OutputStream for this blob
281 * Close blob.
287 * Internal blob write method.
290 * @param pos offset into blob
292 * @return number of bytes written to blob
298 * Internal blob read method.
301 * @param pos offset into blob
303 * @return number of bytes written to blob