public static long longFromBase64(String value){
  int pos=0;
  long longVal=base64Values[value.charAt(pos++)];
  int len=value.length();
  while (pos < len) {
    longVal<<=6;
    longVal|=base64Values[value.charAt(pos++)];
  }
  return longVal;
}

public static long longFromBase64 ( String value ) { int pos = 0 ; long longVal = base64Values [ value . charAt ( pos ++ ) ] ; int len = value . length ( ) ; while ( pos < len ) { longVal <<= 6 ; longVal |= base64Values [ value . charAt ( pos ++ ) ] ; } return longVal ; }
decode a base64 string into a long value .
