End of Stream encountered before parsing was completed?

后端 未结 6 640
遇见更好的自我
遇见更好的自我 2020-11-30 09:25

I am trying to deserialize a stream but I always get this error \"End of Stream encountered before parsing was completed\"?

Here is the code:

                


        
6条回答
  •  一整个雨季
    2020-11-30 10:25

    I had the same exception thrown, until I added the [Serializable] tag to the class I was Serializing :)

    Then it all worked perfectly.

提交回复
热议问题