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