public virtual int GetMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize += 4;  // this._numberOfRecords
            for (int idx = 0; idx < this._records.Count; idx++)
            {
                FourByteChunk listElement = (FourByteChunk)this._records[idx];
                marshalSize += listElement.GetMarshalledSize();
            }

            return(marshalSize);
        }
        public override int GetMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize  = base.GetMarshalledSize();
            marshalSize += 4;  // this._requestID
            marshalSize += 1;  // this._requiredReliabilityService
            marshalSize += 2;  // this._pad1
            marshalSize += 1;  // this._pad2
            marshalSize += 2;  // this._eventType
            marshalSize += 4;  // this._time
            marshalSize += 4;  // this._numberOfRecords
            for (int idx = 0; idx < this._recordIDs.Count; idx++)
            {
                FourByteChunk listElement = (FourByteChunk)this._recordIDs[idx];
                marshalSize += listElement.GetMarshalledSize();
            }

            return(marshalSize);
        }