projects/account_manager/src/main/java/io/v/android/apps/account_manager/BlessingEvent.java
/**
     * Decodes the blessing event.
     *
     * @param  encoded         blessing event encoded using {@link #encodeToString}
     * @return                 decoded blessing event
     * @throws Exception       if there was an error decoding the blessing event
     */
Decodes the blessing event.
@param  encoded         blessing event encoded using  #encodeToString
@return                 decoded blessing event
@throws Exception       if there was an error decoding the blessing event
Decodes the blessing event . @param encoded blessing event encoded using #encodeToString @return decoded blessing event @throws Exception if there was an error decoding the blessing event
public static BlessingEvent decode(String encoded) throws Exception {
        byte[] byteArray = VomUtil.hexStringToBytes(encoded);
        ByteArrayInputStream byteIn = new ByteArrayInputStream(byteArray);
        ObjectInputStream objectIn = new ObjectInputStream(byteIn);
        objectIn.close();
        return (BlessingEvent) (objectIn.readObject());
    }
public static BlessingEvent decode ( String encoded ) throws Exception { byte [ ] byteArray = VomUtil . hexStringToBytes ( encoded ) ; ByteArrayInputStream byteIn = new ByteArrayInputStream ( byteArray ) ; ObjectInputStream objectIn = new ObjectInputStream ( byteIn ) ; objectIn . close ( ) ; return ( BlessingEvent ) ( objectIn . readObject ( ) ) ; }
Decodes the blessing event.
Decodes the blessing event .