org.apache.commons.codec.net
Class Utils
java.lang.Object
org.apache.commons.codec.net.Utils
class Utils
- extends Object
Utility methods for this package.
This class is immutable and thread-safe.
- Since:
- 1.4
- Version:
- $Id: Utils.java 1458495 2013-03-19 20:19:13Z sebb $
Constructor Summary |
Utils()
|
Method Summary |
(package private) static int |
digit16(byte b)
Returns the numeric value of the character b in radix 16. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
Utils()
digit16
static int digit16(byte b)
throws DecoderException
- Returns the numeric value of the character
b
in radix 16.
- Parameters:
b
- The byte to be converted.
- Returns:
- The numeric value represented by the character in radix 16.
- Throws:
DecoderException
- Thrown when the byte is not valid per Character.digit(char,int)
commons-codec version 1.8 - Copyright © 2002-2013 - Apache Software Foundation