org.linkedin.util-core/src/main/java/org/linkedin/util/io/IOUtils.java
@SuppressWarnings("unchecked")
  public static <T extends Serializable> T deserialize(byte[] array)
    throws IOException, ClassNotFoundException
  {
    return (T) (deserialize(array, false));
  }
@SuppressWarnings("unchecked")
  public static <T extends Serializable> T deserialize(byte[] array)
    throws IOException, ClassNotFoundException
  {
    return (T) (deserialize(array, false));
  }
This is the opposite of {@link #serialize(Serializable)}.

@param array the previously serialized object
@exception IOException if there is a problem in the deserialization step
@exception ClassNotFoundException if problem with the serialized object