buf.putInt(hash.length);
buf.put(hash);
buf.putInt(chunk.length);
buf.put(chunk);
this.uncompressedLength.addAndGet(al);
<BUG>HashBlobArchive.currentLength.addAndGet(al);
HashBlobArchive.compressedLength.addAndGet(chunk.length);</BUG>
buf.position(0);
ch.write(buf, cp);
} finally {

buf.putInt(hash.length);
buf.put(hash);
buf.putInt(chunk.length);
buf.put(chunk);
this.uncompressedLength.addAndGet(al);
buf.position(0);
ch.write(buf, cp);
} finally {
