enc.writeStr8(cls);
enc.writeBin128(cb.getSchemaHash());
long now = System.currentTimeMillis() * 1000000;
enc.writeUint64(now);
enc.writeUint64(now);
enc.writeUint64(0);
enc.writeUint64(0x0000FFFFFFFFFFFFL & ((bbank << 28) | abank));
enc.writeUint64(mo.getId());
for (PropertyBinding p : cb.getProperties())
{
p.getType().encode(enc, mo.get(p));