public final int serialize(int offset, byte[] data) {SerializingRecordVisitor srv = new SerializingRecordVisitor(data, offset);visitContainedRecords(srv);return srv.countBytesWritten();}

public override int Serialize(int offset, byte[] data){SerializingRecordVisitor srv = new SerializingRecordVisitor(data, offset);VisitContainedRecords(srv);return srv.CountBytesWritten();}
