public byte[] serialize(){byte[] retval = new byte[getRecordSize()];serialize( 0, retval );return retval;}
public byte[] Serialize(){byte[] retval = new byte[RecordSize];int length=Serialize(0, retval);return retval;}