Lines Matching refs:buf
45 private byte buf[];
46 /* size of data (excluding footers and headers) already stored in buf */
48 /* current index in buf (i.e. buf[count] */
128 buf = new byte[preferredChunkDataSize + 32];
145 out.write(buf, 0, preferredChunkGrossSize);
158 System.arraycopy(getHeader(size), 0, buf,
162 buf[count++] = FOOTER[0];
163 buf[count++] = FOOTER[1];
166 out.write(buf, adjustedHeaderStartIndex, count - adjustedHeaderStartIndex);
213 * and stores this incomplete chunk in an internal buffer buf[]
224 buf[i] = completeHeader[i];
227 System.arraycopy(b, inputIndex, buf, count, spaceInCurrentChunk);
233 buf[count++] = FOOTER[0];
234 buf[count++] = FOOTER[1];
249 System.arraycopy(b, inputIndex, buf, count, bytesToWrite);