Here you can find the source of deSerializeObj(byte[] array)
public static Object deSerializeObj(byte[] array)
//package com.java2s; import java.io.*; public class Main { public static Object deSerializeObj(byte[] array) { ByteArrayInputStream bis = new ByteArrayInputStream(array); ObjectInputStream ois = null; try {/*from w w w . j a v a 2 s . c om*/ ois = new ObjectInputStream(bis); return ois.readObject(); } catch (Exception e) { throw new RuntimeException("deSerializeObj error", e); } } }