@@ -113,10 +113,10 @@ If you would use modification from the previous example, the result would look a
113
113
``` xml
114
114
<modifiableByteArray >
115
115
<originalValue >01 02 03</originalValue >
116
- <byteArrayInsertModification >
116
+ <ByteArrayInsertModification >
117
117
<bytesToInsert >02 03</bytesToInsert >
118
118
<startPosition >1</startPosition >
119
- </byteArrayInsertModification >
119
+ </ByteArrayInsertModification >
120
120
</modifiableByteArray >
121
121
```
122
122
@@ -125,114 +125,114 @@ The following examples should give you a useful list of modifications in modifia
125
125
## Integer
126
126
- Explicit value:
127
127
``` xml
128
- <integerExplicitValueModification >
128
+ <IntegerExplicitValueModification >
129
129
<explicitValue >25872</explicitValue >
130
- </integerExplicitValueModification >
130
+ </IntegerExplicitValueModification >
131
131
```
132
132
133
133
- Subtract:
134
134
``` xml
135
- <integerSubtractModification >
135
+ <IntegerSubtractModification >
136
136
<subtrahend >30959</subtrahend >
137
- </integerSubtractModification >
137
+ </IntegerSubtractModification >
138
138
```
139
139
140
140
- Add:
141
141
``` xml
142
- <integerAddModification >
142
+ <IntegerAddModification >
143
143
<summand >960</summand >
144
- </integerAddModification >
144
+ </IntegerAddModification >
145
145
```
146
146
147
147
- Right shift:
148
148
``` xml
149
- <integerShiftRightModification >
149
+ <IntegerShiftRightModification >
150
150
<shift >13</shift >
151
- </integerShiftRightModification >
151
+ </IntegerShiftRightModification >
152
152
```
153
153
154
154
- Left shift:
155
155
``` xml
156
- <integerShiftLeftModification >
156
+ <IntegerShiftLeftModification >
157
157
<shift >13</shift >
158
- </integerShiftLeftModification >
158
+ </IntegerShiftLeftModification >
159
159
```
160
160
161
161
- XOR:
162
162
``` xml
163
- <integerXorModification >
163
+ <IntegerXorModification >
164
164
<xor >22061</xor >
165
- </integerXorModification >
165
+ </IntegerXorModification >
166
166
```
167
167
168
168
You can use the same operations for BigInteger data types, for example:
169
169
``` xml
170
- <bigIntegerAddModification >
170
+ <BigIntegerAddModification >
171
171
<summand >1</summand >
172
- </bigIntegerAddModification >
172
+ </BigIntegerAddModification >
173
173
```
174
174
ModifiableLong and ModifiableBytes support the following operations: add, explicitValue, subtract, xor
175
175
176
176
## Byte Array
177
177
- Explicit value:
178
178
``` xml
179
- <byteArrayExplicitValueModification >
179
+ <ByteArrayExplicitValueModification >
180
180
<explicitValue >
181
181
4F 3F 8C FC 17 8E 66 0A 53 DF 4D 4E E9 0B D0
182
182
</explicitValue >
183
- </byteArrayExplicitValueModification >
183
+ </ByteArrayExplicitValueModification >
184
184
```
185
185
186
186
- XOR:
187
187
``` xml
188
- <byteArrayXorModification >
188
+ <ByteArrayXorModification >
189
189
<xor >11 22</xor >
190
190
<startPosition >1</startPosition >
191
- </byteArrayXorModification >
191
+ </ByteArrayXorModification >
192
192
```
193
193
194
194
- Insert:
195
195
``` xml
196
- <byteArrayInsertModification >
196
+ <ByteArrayInsertModification >
197
197
<bytesToInsert >
198
198
3D 9F 3B 77 65 03 F9 8A 93 6D 94 CD 7E 4A C5 1B
199
199
</bytesToInsert >
200
200
<startPosition >0</startPosition >
201
- </byteArrayInsertModification >
201
+ </ByteArrayInsertModification >
202
202
```
203
203
204
204
- Delete:
205
205
``` xml
206
- <byteArrayDeleteModification >
206
+ <ByteArrayDeleteModification >
207
207
<count >2</count >
208
208
<startPosition >0</startPosition >
209
- </byteArrayDeleteModification >
209
+ </ByteArrayDeleteModification >
210
210
```
211
211
212
212
- Shuffle:
213
213
``` xml
214
- <byteArrayShuffleModification >
214
+ <ByteArrayShuffleModification >
215
215
<shuffle >02 03</shuffle >
216
- </byteArrayShuffleModification >
216
+ </ByteArrayShuffleModification >
217
217
```
218
218
219
219
# Boolean
220
220
- Explicit value:
221
221
``` xml
222
- <booleanExplicitValueModification >
222
+ <BooleanExplicitValueModification >
223
223
<explicitValue >true</explicitValue >
224
- </booleanExplicitValueModification >
224
+ </BooleanExplicitValueModification >
225
225
```
226
226
227
227
- Toggle:
228
228
``` xml
229
- <booleanToggleModification />
229
+ <BooleanToggleModification />
230
230
```
231
231
232
232
# String
233
233
- Explicit value:
234
234
``` xml
235
- <stringExplicitValueModification >
235
+ <StringExplicitValueModification >
236
236
<explicitValue >abc</explicitValue >
237
- </stringExplicitValueModification >
237
+ </StringExplicitValueModification >
238
238
```
0 commit comments