}
public void serialize(BufferOutput out, Object o) throws IOException {
PofBufferWriter writer = new PofBufferWriter(out, this);
try {
writer.writeObject(-1, o);
} catch (RuntimeException e) {
IOException ioex = new IOException(e.getMessage());
ioex.initCause(e);
throw ioex;