public static <T> T blobToObject(byte[] blob, Class<T> type) {
        try {
            return SerializerContext.getInstance().deSerialize(blob, type);
        } catch (SerializerException e) {
            throw new IllegalStateException(e);
        }
    }
public static <T> T blobToObject(byte[] blob, Class<T> type) {
        try {
            return SerializerContext.getInstance().deSerialize(blob, type);
        } catch (SerializerException e) {
            throw new IllegalStateException(e);
        }
    }
public static < T > T blobToObject ( byte [ ] blob , Class < T > type ) { try { return SerializerContext . getInstance ( ) . deSerialize ( blob , type ) ; } catch ( SerializerException e ) { throw new IllegalStateException ( e ) ; } }
bytes to java object.

@param blob blob
@param type type
@param <T>  T
@return T
bytes to java object .