aeron-client/src/main/java/io/aeron/ChannelUri.java
public static long getTag(final String paramValue)
    {
        return isTagged(paramValue) ?
            AsciiEncoding.parseLongAscii(paramValue, 4, paramValue.length() - 4) : INVALID_TAG;
    }
public static long getTag(final String paramValue)
    {
        return isTagged(paramValue) ?
            AsciiEncoding.parseLongAscii(paramValue, 4, paramValue.length() - 4) : INVALID_TAG;
    }
Get the value of the tag from a given parameter value.

@param paramValue to extract the tag value from.
@return the value of the tag or {@link #INVALID_TAG} if not tagged.
@see CommonContext#TAGS_PARAM_NAME
@see CommonContext#TAG_PREFIX