lib/src/main/java/io/v/v23/syncbase/util/Util.java
/**
     * Applies the inverse of {@link Util#encodeId}. Throws exception if the given string is
     * not a valid encoded string.
     *
     * @param s String to decode.
     * @return Decoded string.
     * @throws IllegalArgumentException if {@code s} is truncated or malformed.
     */
Applies the inverse of  Util#encodeId. Throws exception if the given string is
not a valid encoded string.

@param s String to decode.
@return Decoded string.
@throws IllegalArgumentException if  s is truncated or malformed.
Applies the inverse of Util#encodeId . Throws exception if the given string is not a valid encoded string . @param s String to decode . @return Decoded string . @throws IllegalArgumentException if s is truncated or malformed .
public static Id decodeId(String s) throws VException {
        String decoded = decode(s);
        String[] parts = decoded.split(",", 2);
        if (parts.length != 2) {
            throw new IllegalArgumentException("Failed to decode id: " + s);
        }
        Id id = new Id(parts[0], parts[1]);
        return id;
    }
public static Id decodeId ( String s ) throws VException { String decoded = decode ( s ) ; String [ ] parts = decoded . split ( "," , 2 ) ; if ( parts . length != 2 ) { throw new IllegalArgumentException ( "Failed to decode id: " + s ) ; } Id id = new Id ( parts [ 0 ] , parts [ 1 ] ) ; return id ; }
Applies the inverse of {@link Util#encodeId}.
Applies the inverse of { @link Util#encodeId } .