@Test public void aliases() { assertThat(BASE32_CROCKFORD_NUMBER.decodeInt("00000oO")).isEqualTo(0); assertThat(BASE32_CROCKFORD_NUMBER.decodeInt("0000001")).isEqualTo(1); assertThat(BASE32_CROCKFORD_NUMBER.decodeInt("000000l")).isEqualTo(1); assertThat(BASE32_CROCKFORD_NUMBER.decodeInt("00000oL")).isEqualTo(1); assertThat(BASE32_CROCKFORD_NUMBER.decodeInt("00000oi")).isEqualTo(1); assertThat(BASE32_CROCKFORD_NUMBER.decodeInt("00000oI")).isEqualTo(1); assertThat(BASE32_CROCKFORD_NUMBER.decodeInt("000000A")).isEqualTo(10); assertThat(BASE32_CROCKFORD_NUMBER.decodeInt("000000a")).isEqualTo(10); }
public int decodeInt(String str) { return decode(str, new Bytes.Integer(0)).getInt(); }
BinaryEncoder { public int decodeInt(String str) { return decode(str, new Bytes.Integer(0)).getInt(); } }
BinaryEncoder { public int decodeInt(String str) { return decode(str, new Bytes.Integer(0)).getInt(); } private  BinaryEncoder(char[] numberToChar, int[] charToNumber); }
BinaryEncoder { public int decodeInt(String str) { return decode(str, new Bytes.Integer(0)).getInt(); } private  BinaryEncoder(char[] numberToChar, int[] charToNumber); String encode(byte[] bytes); byte[] decode(String str); String encodeLong(long l); String encodeInt(int i); long decodeLong(String str); int decodeInt(String str); }
BinaryEncoder { public int decodeInt(String str) { return decode(str, new Bytes.Integer(0)).getInt(); } private  BinaryEncoder(char[] numberToChar, int[] charToNumber); String encode(byte[] bytes); byte[] decode(String str); String encodeLong(long l); String encodeInt(int i); long decodeLong(String str); int decodeInt(String str); static final BinaryEncoder HEX; static final BinaryEncoder HEX_ALIASED; static final BinaryEncoder BASE32; static final BinaryEncoder BASE32_CROCKFORD; static final BinaryEncoder BASE32_CROCKFORD_NUMBER; static final BinaryEncoder BASE64; static final BinaryEncoder BASE64_URL; static final BinaryEncoder NUMBER_BASE64_URL; }