Java Base16 Encode base16ToInt(char c)

Here you can find the source of base16ToInt(char c)

Description

base To Int

License

Open Source License

Declaration

public static int base16ToInt(char c) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static final String BASE_16 = "0123456789abcdef";

    public static int base16ToInt(char c) {
        return BASE_16.indexOf(String.valueOf(c).toLowerCase());
    }//from w w w  . j a v  a  2  s .  com
}

Related

  1. base16Encode(byte[] data)
  2. base16toByte(String str)