103throw"Tried to marshal in obj marked isUnmarshaling == true";
104
105//Copy the sizespec into msh_currentSize here:
106 {
107
108 }
109
110//Increase the size of buffer if needed
111EXTEND_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)
112//Mark the beginning position for this field, will write the total size of this field here later
332throw"Tried to marshal in obj marked isUnmarshaling == true";
333
334//Copy the sizespec into msh_currentSize here:
335 {
336//code for size, just dummy code because the size will be set correctly at the end of marshaling code
337
338 }
339
340//Increase the size of buffer if needed
341EXTEND_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)
342//Mark the beginning position for this field, will write the total size of this field here later