The following structure fails to unpack. Calls to packing routines are padded for convenience:
int main(int argc, char ** argv)
{
msgpack_sbuffer mp_buf;
msgpack_sbuffer_init(&mp_buf);
msgpack_packer * pk = msgpack_packer_new(&mp_buf, msgpack_sbuffer_write);
msgpack_pack_array(pk, 1);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 2);
msgpack_pack_uint32(pk, 1358252950);
msgpack_pack_uint32(pk, 436731042);
msgpack_pack_array(pk, 5);
msgpack_pack_uint32(pk, 8);
msgpack_pack_uint32(pk, 33664);
msgpack_pack_uint32(pk, 804);
msgpack_pack_array(pk, 12);
msgpack_pack_uint8(pk, 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 0);
msgpack_pack_uint32(pk, 804);
msgpack_pack_uint32(pk, 806);
msgpack_pack_uint32(pk, 33664);
msgpack_pack_raw(pk, 16);
msgpack_pack_raw_body(pk, "multipart/report", 16);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 3);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 843);
msgpack_pack_uint32(pk, 888);
msgpack_pack_uint32(pk, 890);
msgpack_pack_uint32(pk, 1014);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "text/plain", 10);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 1048);
msgpack_pack_uint32(pk, 1106);
msgpack_pack_uint32(pk, 1108);
msgpack_pack_uint32(pk, 1184);
msgpack_pack_raw(pk, 23);
msgpack_pack_raw_body(pk, "message/feedback-report", 23);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 1218);
msgpack_pack_uint32(pk, 1267);
msgpack_pack_uint32(pk, 1269);
msgpack_pack_uint32(pk, 33622);
msgpack_pack_raw(pk, 14);
msgpack_pack_raw_body(pk, "message/rfc822", 14);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "untitled.eml", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 1);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 1269);
msgpack_pack_uint32(pk, 3092);
msgpack_pack_uint32(pk, 3094);
msgpack_pack_uint32(pk, 33622);
msgpack_pack_raw(pk, 15);
msgpack_pack_raw_body(pk, "multipart/mixed", 15);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 3175);
msgpack_pack_uint32(pk, 3308);
msgpack_pack_uint32(pk, 3310);
msgpack_pack_uint32(pk, 6306);
msgpack_pack_raw(pk, 21);
msgpack_pack_raw_body(pk, "multipart/alternative", 21);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 3391);
msgpack_pack_uint32(pk, 3545);
msgpack_pack_uint32(pk, 3547);
msgpack_pack_uint32(pk, 4180);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "text/plain", 10);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 4213);
msgpack_pack_uint32(pk, 4348);
msgpack_pack_uint32(pk, 4350);
msgpack_pack_uint32(pk, 6267);
msgpack_pack_raw(pk, 9);
msgpack_pack_raw_body(pk, "text/html", 9);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 6339);
msgpack_pack_uint32(pk, 6742);
msgpack_pack_uint32(pk, 6744);
msgpack_pack_uint32(pk, 33581);
msgpack_pack_raw(pk, 14);
msgpack_pack_raw_body(pk, "message/rfc822", 14);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 135);
msgpack_pack_raw_body(pk, "Fw: subject.eml", 135);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "attachment", 10);
msgpack_pack_array(pk, 1);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 6744);
msgpack_pack_uint32(pk, 8195);
msgpack_pack_uint32(pk, 8197);
msgpack_pack_uint32(pk, 33581);
msgpack_pack_raw(pk, 15);
msgpack_pack_raw_body(pk, "multipart/mixed", 15);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 8278);
msgpack_pack_uint32(pk, 8411);
msgpack_pack_uint32(pk, 8413);
msgpack_pack_uint32(pk, 10033);
msgpack_pack_raw(pk, 21);
msgpack_pack_raw_body(pk, "multipart/alternative", 21);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 8494);
msgpack_pack_uint32(pk, 8648);
msgpack_pack_uint32(pk, 8650);
msgpack_pack_uint32(pk, 8984);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "text/plain", 10);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 9017);
msgpack_pack_uint32(pk, 9151);
msgpack_pack_uint32(pk, 9153);
msgpack_pack_uint32(pk, 9994);
msgpack_pack_raw(pk, 9);
msgpack_pack_raw_body(pk, "text/html", 9);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 10066);
msgpack_pack_uint32(pk, 10445);
msgpack_pack_uint32(pk, 10447);
msgpack_pack_uint32(pk, 33542);
msgpack_pack_raw(pk, 14);
msgpack_pack_raw_body(pk, "message/rfc822", 14);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 131);
msgpack_pack_raw_body(pk, " subject.eml", 131);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "attachment", 10);
msgpack_pack_array(pk, 1);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 10447);
msgpack_pack_uint32(pk, 11525);
msgpack_pack_uint32(pk, 11527);
msgpack_pack_uint32(pk, 33542);
msgpack_pack_raw(pk, 15);
msgpack_pack_raw_body(pk, "multipart/mixed", 15);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 11608);
msgpack_pack_uint32(pk, 11741);
msgpack_pack_uint32(pk, 11743);
msgpack_pack_uint32(pk, 14824);
msgpack_pack_raw(pk, 21);
msgpack_pack_raw_body(pk, "multipart/alternative", 21);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 11824);
msgpack_pack_uint32(pk, 11978);
msgpack_pack_uint32(pk, 11980);
msgpack_pack_uint32(pk, 12649);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "text/plain", 10);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 12682);
msgpack_pack_uint32(pk, 12817);
msgpack_pack_uint32(pk, 12819);
msgpack_pack_uint32(pk, 14785);
msgpack_pack_raw(pk, 9);
msgpack_pack_raw_body(pk, "text/html", 9);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 14857);
msgpack_pack_uint32(pk, 15267);
msgpack_pack_uint32(pk, 15269);
msgpack_pack_uint32(pk, 33503);
msgpack_pack_raw(pk, 14);
msgpack_pack_raw_body(pk, "message/rfc822", 14);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 142);
msgpack_pack_raw_body(pk, "Fw: Fw: Fw: subject.eml", 142);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "attachment", 10);
msgpack_pack_array(pk, 1);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 15269);
msgpack_pack_uint32(pk, 16637);
msgpack_pack_uint32(pk, 16639);
msgpack_pack_uint32(pk, 33503);
msgpack_pack_raw(pk, 15);
msgpack_pack_raw_body(pk, "multipart/mixed", 15);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 16719);
msgpack_pack_uint32(pk, 16851);
msgpack_pack_uint32(pk, 16853);
msgpack_pack_uint32(pk, 19647);
msgpack_pack_raw(pk, 21);
msgpack_pack_raw_body(pk, "multipart/alternative", 21);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 16933);
msgpack_pack_uint32(pk, 17087);
msgpack_pack_uint32(pk, 17089);
msgpack_pack_uint32(pk, 17669);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "text/plain", 10);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 17701);
msgpack_pack_uint32(pk, 17836);
msgpack_pack_uint32(pk, 17838);
msgpack_pack_uint32(pk, 19609);
msgpack_pack_raw(pk, 9);
msgpack_pack_raw_body(pk, "text/html", 9);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 19679);
msgpack_pack_uint32(pk, 20085);
msgpack_pack_uint32(pk, 20087);
msgpack_pack_uint32(pk, 33465);
msgpack_pack_raw(pk, 14);
msgpack_pack_raw_body(pk, "message/rfc822", 14);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 138);
msgpack_pack_raw_body(pk, "Fw: Fw: subject.eml", 138);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "attachment", 10);
msgpack_pack_array(pk, 1);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 20087);
msgpack_pack_uint32(pk, 21313);
msgpack_pack_uint32(pk, 21315);
msgpack_pack_uint32(pk, 33465);
msgpack_pack_raw(pk, 15);
msgpack_pack_raw_body(pk, "multipart/mixed", 15);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 21396);
msgpack_pack_uint32(pk, 21529);
msgpack_pack_uint32(pk, 21531);
msgpack_pack_uint32(pk, 24448);
msgpack_pack_raw(pk, 21);
msgpack_pack_raw_body(pk, "multipart/alternative", 21);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 21612);
msgpack_pack_uint32(pk, 21766);
msgpack_pack_uint32(pk, 21768);
msgpack_pack_uint32(pk, 22387);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "text/plain", 10);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 22420);
msgpack_pack_uint32(pk, 22555);
msgpack_pack_uint32(pk, 22557);
msgpack_pack_uint32(pk, 24409);
msgpack_pack_raw(pk, 9);
msgpack_pack_raw_body(pk, "text/html", 9);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 24481);
msgpack_pack_uint32(pk, 24883);
msgpack_pack_uint32(pk, 24885);
msgpack_pack_uint32(pk, 33426);
msgpack_pack_raw(pk, 14);
msgpack_pack_raw_body(pk, "message/rfc822", 14);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 134);
msgpack_pack_raw_body(pk, "Fw: subject.eml", 134);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "attachment", 10);
msgpack_pack_array(pk, 1);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 24885);
msgpack_pack_uint32(pk, 26090);
msgpack_pack_uint32(pk, 26092);
msgpack_pack_uint32(pk, 33426);
msgpack_pack_raw(pk, 15);
msgpack_pack_raw_body(pk, "multipart/mixed", 15);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 26172);
msgpack_pack_uint32(pk, 26304);
msgpack_pack_uint32(pk, 26306);
msgpack_pack_uint32(pk, 29382);
msgpack_pack_raw(pk, 21);
msgpack_pack_raw_body(pk, "multipart/alternative", 21);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 26386);
msgpack_pack_uint32(pk, 26540);
msgpack_pack_uint32(pk, 26542);
msgpack_pack_uint32(pk, 27202);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "text/plain", 10);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 27234);
msgpack_pack_uint32(pk, 27369);
msgpack_pack_uint32(pk, 27371);
msgpack_pack_uint32(pk, 29344);
msgpack_pack_raw(pk, 9);
msgpack_pack_raw_body(pk, "text/html", 9);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 29414);
msgpack_pack_uint32(pk, 29792);
msgpack_pack_uint32(pk, 29794);
msgpack_pack_uint32(pk, 33388);
msgpack_pack_raw(pk, 14);
msgpack_pack_raw_body(pk, "message/rfc822", 14);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 130);
msgpack_pack_raw_body(pk, "subject.eml", 130);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "attachment", 10);
msgpack_pack_array(pk, 1);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 29794);
msgpack_pack_uint32(pk, 30925);
msgpack_pack_uint32(pk, 30927);
msgpack_pack_uint32(pk, 33388);
msgpack_pack_raw(pk, 21);
msgpack_pack_raw_body(pk, "multipart/alternative", 21);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_array(pk, 2);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 31008);
msgpack_pack_uint32(pk, 31162);
msgpack_pack_uint32(pk, 31164);
msgpack_pack_uint32(pk, 31647);
msgpack_pack_raw(pk, 10);
msgpack_pack_raw_body(pk, "text/plain", 10);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_pack_array(pk, 3);
msgpack_pack_uint8(pk, 1);
msgpack_pack_array(pk, 10);
msgpack_pack_uint32(pk, 31680);
msgpack_pack_uint32(pk, 31815);
msgpack_pack_uint32(pk, 31817);
msgpack_pack_uint32(pk, 33349);
msgpack_pack_raw(pk, 9);
msgpack_pack_raw_body(pk, "text/html", 9);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "binary", 6);
msgpack_pack_raw(pk, 12);
msgpack_pack_raw_body(pk, "windows-1251", 12);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 0);
msgpack_pack_raw_body(pk, "", 0);
msgpack_pack_raw(pk, 6);
msgpack_pack_raw_body(pk, "inline", 6);
msgpack_pack_array(pk, 0);
msgpack_unpacked msg;
int ok;
size_t offset = 0;
msgpack_unpacked_init(&msg);
if(msgpack_unpack_next(&msg, mp_buf.data, mp_buf.size, &offset))
ok = 1;
return ok;
}