Empty pdf after blob – JavaScript

I’m trying to create a pdf from a pdf string retrieved by server, however when I try to generate the pdf file, it is empty (blank).

Here is the a pdf string

%PDF-1.4
%����
4 0 obj
<</Subtype/Form/Filter/FlateDecode/Type/XObject/Matrix [1 0 0 1 0 0]/FormType 1/Resources<<>>/BBox[0 0 506 50]/Length 1488>>stream
x�m����4E��� ���8��Ă�B�����t�=���H�F/>�e;�.{�=��=�z����c�F�����Ǐ�����?�{5��Ѷ����~ޞ�<��?��F/}��~wǿ�����c��w���7��!%q7}!J�ߩB�SB���|’�S�7�~����4w����H$}Q �%�0�6 �)��üۊL���h�y�Ҫh�v����A�Tٕخ���{�{7�z8�6 �CC��V�pe=�A@Z
�P���O�C��︻y�u9�ء��_.H�.�^˩�����O��Ħ��� DN7cS�?��T�A�T9�r*����ө����λ{H�.�k�����u+���P�tu�EL�/n���Wޭ����F�
�Y��5�l�٤ߜ���őg�N�n2���᳭�3+=L��MNZ�5�
�@/h?�@/_(?��z����&�[�~��&�+>�|b�-�3�S�_��μ�W��}̵ٙ�l�����S����ʯxgWj~q�oW~�����m�����a��^�~���^p�&.���ް�&+^��vT�̋�x��}���d|��fE�7�$�)�i�7�s��N�v>’yb�M��x�~�
[n������p��U�qoK���O�ɍrr������N��U�.ޭ���8l�7tFE�����^S{�f�VzԱ���{=�_��뗯�[?5�8�b��n�z��UoS6o׏��S�vw�C���A�!���䙬_j����uh�S�����c_��r�i��>߱�.�.~�z�|��o׏����dE�7ȓ2��,/~��SX��ɬWtz���=�FE��{����Y��?�<����Aͯ�’�)�^�?�2��r�O?�|��J��r_�]?���-��S�h���N��U������O����o�������|CgV��S�p���ï�z|>(�Cu�����h��Й�^#O��P_|s��;����|�C��љ��C�!�.��Qw+���:~�V�s@�
%�ᾇ��P��x�=���#i?+=|>(�C�����;�������-�|�x�?>���:~��}��ytFE������:�x�?���C>�x;��|�!�^�]?|>(�Cu|��:’8��������˘��L�nv[��������I�’:���;�[�t�]?|>(�Cu����qH����?��s@b�)�O{ߓ�����}�n>��!)۳�3
=�Iٞ�㋷�=�Jo���W���{Hl9�Ӌw�C��Iٞ����{H���w�GE��Ezb�)�.�^�gݦc�)�^����糮�M/��G����.�+�^���}<�:�{�Ż�!�’J���Z�x�~�[N�t���’��ĖS>�x�~�|b�)�.~���O�g�}V4z��$et��.���$uyr͒�wY��6�-�DgV4z�|b�)�.����’����������x�Yo�o�������n�
endstream
xref
0 19
0000000000 65535 f
0000517336 00000 n
0000517672 00000 n
0000517760 00000 n
0000000015 00000 n
0000001660 00000 n
0000002614 00000 n
0000095116 00000 n
0000517860 00000 n
0000517956 00000 n
0000518049 00000 n
0000518139 00000 n
0000513919 00000 n
0000518235 00000 n
0000517636 00000 n
0000518287 00000 n
0000518343 00000 n
0000518377 00000 n
0000518483 00000 n
trailer
<</Info 18 0 R/ID [<965e005985f8bed0e07d4c6e0fa8136f><965e005985f8bed0e07d4c6e0fa8136f>]/Root 17 0 R/Size 19>>
%iText-5.5.0
startxref
518686
%EOF

Generate a blob and download a pdf file.