91throw"Tried to marshal in obj marked isUnmarshaling == true";
92
93//Copy the sizespec into msh_currentSize here:
94 {
95// no need to declare size since msh_currentSize is already assigned in the MARSHAL field
96
97 }
98
99//Increase the size of buffer if needed
100EXTEND_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)
101//Mark the beginning position for this field, will write the total size of this field here later
149throw"Tried to marshal in obj marked isUnmarshaling == true";
150
151//Copy the sizespec into msh_currentSize here:
152 {
153// no need to declare size since msh_currentSize is already assigned in the MARSHAL field
154
155 }
156
157//Increase the size of buffer if needed
158EXTEND_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)
159//Mark the beginning position for this field, will write the total size of this field here later
207throw"Tried to marshal in obj marked isUnmarshaling == true";
208
209//Copy the sizespec into msh_currentSize here:
210 {
211//code for size, just dummy code because the size will be set correctly at the end of marshaling code
212
213 }
214
215//Increase the size of buffer if needed
216EXTEND_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)
217//Mark the beginning position for this field, will write the total size of this field here later