100throw"Tried to marshal in obj marked isUnmarshaling == true";
101
102//Copy the sizespec into msh_currentSize here:
103 {
104// no need to declare size since msh_currentSize is already assigned in the MARSHAL field
105
106 }
107
108//Increase the size of buffer if needed
109EXTEND_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)
110//Mark the beginning position for this field, will write the total size of this field here later
158throw"Tried to marshal in obj marked isUnmarshaling == true";
159
160//Copy the sizespec into msh_currentSize here:
161 {
162// no need to declare size since msh_currentSize is already assigned in the MARSHAL field
163
164 }
165
166//Increase the size of buffer if needed
167EXTEND_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)
168//Mark the beginning position for this field, will write the total size of this field here later
216throw"Tried to marshal in obj marked isUnmarshaling == true";
217
218//Copy the sizespec into msh_currentSize here:
219 {
220//code for size, just dummy code because the size will be set correctly at the end of marshaling code
221
222 }
223
224//Increase the size of buffer if needed
225EXTEND_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)
226//Mark the beginning position for this field, will write the total size of this field here later