194 {
195
196 {
197 const uint8_t bytes[] = {
198 0x4d, 0x50, 0x46, 0x00, 0x49, 0x49, 0x2a, 0x00, 0x08, 0x00, 0x00, 0x00, 0x03,
199 0x00, 0x00, 0xb0, 0x07, 0x00, 0x04, 0x00, 0x00, 0x00, 0x30, 0x31, 0x30, 0x30,
200 0x01, 0xb0, 0x04, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02,
201 0xb0, 0x07, 0x00, 0x20, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00,
202 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x20, 0xcf, 0x49, 0x00, 0x00, 0x00, 0x00,
203 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xee, 0x28, 0x01, 0x00,
204 0xf9, 0xb7, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00,
205 };
206 auto mpParams =
214 }
215
216
217 {
218 const uint8_t bytes[] = {
219 0x4d, 0x50, 0x46, 0x00, 0x4d, 0x4d, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x08, 0x00,
220 0x03, 0xb0, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x04, 0x30, 0x31, 0x30, 0x30,
221 0xb0, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0xb0,
222 0x02, 0x00, 0x07, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00,
223 0x00, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x56, 0xda, 0x2f, 0x00, 0x00, 0x00,
224 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x14, 0xc6, 0x01,
225 0x00, 0x55, 0x7c, 0x1f, 0x00, 0x00, 0x00, 0x00,
226 };
227 auto mpParams =
235 }
236
237
238 {
239 const uint8_t bytes[] = {
240 0x4d, 0x50, 0x46, 0x00, 0x4d, 0x4d, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x08, 0x00,
241 0x03, 0xb0, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x04, 0x30, 0x31, 0x30, 0x30,
242 0xb0, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0xb0,
243 0x02, 0x00, 0x07, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00,
244 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x1f, 0x1c, 0xc2, 0x00, 0x00, 0x00,
245 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x05, 0xb0,
246 0x00, 0x1f, 0x12, 0xec, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
247 0x00, 0x96, 0x6b, 0x00, 0x22, 0x18, 0x9c, 0x00, 0x00, 0x00, 0x00,
248 };
249 auto mpParams =
259 }
260
261
262 {
263 const uint8_t bytes[] = {
264 0x4d, 0x50, 0x46, 0x00,
265 0x4d, 0x4d, 0x00, 0x2a,
266 0x00, 0x00, 0x00, 0x08,
267 0x00, 0x03,
268 0xb0, 0x00,
269 0x00, 0x07,
270 0x00, 0x00, 0x00, 0x04,
271 0x30, 0x31, 0x30, 0x30,
272 0xb0, 0x01,
273 0x00, 0x04,
274 0x00, 0x00, 0x00, 0x01,
275 0x00, 0x00, 0x00, 0x02,
276 0xb0, 0x02,
277 0x00, 0x07,
278 0x00, 0x00, 0x00, 0x20,
279 0x00, 0x00, 0x00, 0x32,
280 0x00, 0x00, 0x00, 0x00,
281 0x20, 0x03, 0x00, 0x00,
282 0x00, 0x56, 0xda, 0x2f,
283 0x00, 0x00, 0x00, 0x00,
284 0x00, 0x00, 0x00, 0x00,
285 0x00, 0x00, 0x00, 0x00,
286 0x00, 0x14, 0xc6, 0x01,
287 0x00, 0x55, 0x7c, 0x1f,
288 0x00, 0x00, 0x00, 0x00,
289 };
290
291
297
298 {
299
302 reinterpret_cast<uint8_t*>(bytesInvalid->writable_data())[25] = '1';
304 }
305
306 {
307
310 reinterpret_cast<uint8_t*>(bytesInvalid->writable_data())[29] = 0x07;
312 }
313
314 {
315
318 reinterpret_cast<uint8_t*>(bytesInvalid->writable_data())[49] = 0xFE;
320 }
321
322 {
323
326 reinterpret_cast<uint8_t*>(bytesInvalid->writable_data())[45] = 0x1F;
328 }
329 }
330}
static sk_sp< SkData > MakeWithoutCopy(const void *data, size_t length)
static sk_sp< SkData > MakeWithCopy(const void *data, size_t length)