103throw"Tried to marshal in obj marked isUnmarshaling == true";
104
105//Copy the sizespec into msh_currentSize here:
106 {
107// no need to declare size since msh_currentSize is already assigned in the MARSHAL field
108
109 }
110
111//Increase the size of buffer if needed
112EXTEND_BUFFER(msh_currentSize + sizeof(int) + sizeof(int)); // 4 bytes for the total size of field, 4 bytes for the number of elements in the array (in the case of array marshaling)
113//Mark the beginning position for this field, will write the total size of this field here later
161throw"Tried to marshal in obj marked isUnmarshaling == true";
162
163//Copy the sizespec into msh_currentSize here:
164 {
165// no need to declare size since msh_currentSize is already assigned in the MARSHAL field
166
167 }
168
169//Increase the size of buffer if needed
170EXTEND_BUFFER(msh_currentSize + sizeof(int) + sizeof(int)); // 4 bytes for the total size of field, 4 bytes for the number of elements in the array (in the case of array marshaling)
171//Mark the beginning position for this field, will write the total size of this field here later
219throw"Tried to marshal in obj marked isUnmarshaling == true";
220
221//Copy the sizespec into msh_currentSize here:
222 {
223//code for size, just dummy code because the size will be set correctly at the end of marshaling code
224
225 }
226
227//Increase the size of buffer if needed
228EXTEND_BUFFER(msh_currentSize + sizeof(int) + sizeof(int)); // 4 bytes for the total size of field, 4 bytes for the number of elements in the array (in the case of array marshaling)
229//Mark the beginning position for this field, will write the total size of this field here later