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