將byte數組轉爲Object

若是使用下面方法,將會報java.io.StreamCorruptedException: invalid stream header: 31323334異常java public static Object toObject(byte[] bytes) { Object obj = null; try { ByteArrayInputStream bis = new ByteArrayI
相關文章
相關標籤/搜索