inline Uint32 ConfigValues::pack(UtilBuffer& buf) const { Uint32 len = getPackedSize(); void * tmp = buf.append(len); if(tmp == 0){ return 0; } return pack(tmp, len); }
inline bool Properties::pack(UtilBuffer &buf) const { Uint32 size = getPackedSize(); void *tmp_buf = buf.append(size); if(tmp_buf == 0) return false; bool ret = pack((Uint32 *)tmp_buf); if(ret == false) return false; return true; }