public void writeBloom(final DataOutput out) throws IOException {
    if (!this.bloom.hasArray()) {
      throw new IOException("Only writes ByteBuffer with underlying array.");
    }
    out.write(this.bloom.array(), this.bloom.arrayOffset(), this.bloom.limit());
  }
Writes just the bloom filter to the output array
@param out OutputStream to place bloom
@throws IOException Error writing bloom array
hbase-server/src/main/java/org/apache/hadoop/hbase/util/BloomFilterChunk.java