Java: Reading a pdf file from URL into Byte array/ByteBuffer in an applet

后端 未结 3 658
逝去的感伤
逝去的感伤 2021-01-05 04:43

I\'m trying to figure out why this particular snippet of code isn\'t working for me. I\'ve got an applet which is supposed to read a .pdf and display it with a pdf-renderer

3条回答
  •  鱼传尺愫
    2021-01-05 05:21

    Have you tried a flush() before you close the tmpOut stream to ensure all bytes written out?

提交回复
热议问题