Home | History | Annotate | Download | only in io

Lines Matching defs:cache

55     private byte[] cache;
74 this.cache = new byte[bufferSize];
92 * Writes the cache out onto the underlying stream
98 this.out.write(this.cache, 0, this.cachePosition);
105 * Writes the cache and bufferToAppend to the underlying stream
114 this.out.write(this.cache, 0, this.cachePosition);
128 * Must be called to ensure the internal cache is flushed and the closing chunk is written.
144 this.cache[this.cachePosition] = (byte) b;
146 if (this.cachePosition == this.cache.length) flushCache();
163 if (len >= this.cache.length - this.cachePosition) {
166 System.arraycopy(src, off, cache, this.cachePosition, len);