class BigendianEncoding {

  static boolean isValidBase16String(CharSequence value) {
    for (int i = 0; i < value.length(); i++) {
      char b = value.charAt(i);
      // 48..57 && 97..102 are valid
      if (!isDigit(b) && !isLowercaseHexCharacter(b)) {
        return false;
      }
    }
    return true;
  }

  private  BigendianEncoding();

}