// used to send CASes to remotes
public byte[] serializeCasToBinary6(CAS aCAS, CacheEntry entry, TypeSystemImpl tgtTs) throws Exception {
ByteArrayOutputStream fos = null;
fos = new ByteArrayOutputStream();
BinaryCasSerDes6 bcs = new BinaryCasSerDes6(aCAS, tgtTs);
bcs.serialize(fos);
entry.setCompress6ReuseInfo(bcs.getReuseInfo());
return fos.toByteArray();
}
public byte[] serializeCasToBinary6(CAS aCAS, Marker aMark, ReuseInfo reuseInfo) throws Exception {