| Package | Description | 
|---|---|
| org.apache.commons.codec | Interfaces and classes used by
    the various implementations in the sub-packages. | 
| org.apache.commons.codec.binary | Base64, Base32, Binary, and Hexadecimal String encoding and decoding. | 
| org.apache.commons.codec.net | 
  Network related encoding and decoding. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | BinaryDecoder. decode(byte[] source)Decodes a byte array and returns the results as a byte array. | 
| Object | Decoder. decode(Object source)Decodes an "encoded" Object and returns a "decoded" Object. | 
| String | StringDecoder. decode(String source)Decodes a String and returns a String. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | Hex. decode(byte[] array)Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values. | 
| byte[] | Hex. decode(ByteBuffer buffer)Converts a buffer of character bytes representing hexadecimal values into an array of bytes of those same values. | 
| Object | Hex. decode(Object object)Converts a String or an array of character bytes representing hexadecimal values into an array of bytes of those
 same values. | 
| Object | BinaryCodec. decode(Object ascii)Decodes a byte array where each byte represents an ASCII '0' or '1'. | 
| Object | BaseNCodec. decode(Object obj)Decodes an Object using the Base-N algorithm. | 
| static byte[] | Hex. decodeHex(char[] data)Converts an array of characters representing hexadecimal values into an array of bytes of those same values. | 
| static byte[] | Hex. decodeHex(String data)Converts a String representing hexadecimal values into an array of bytes of those same values. | 
| protected static int | Hex. toDigit(char ch,
       int index)Converts a hexadecimal character to an integer. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | URLCodec. decode(byte[] bytes)Decodes an array of URL safe 7-bit characters into an array of original bytes. | 
| byte[] | QuotedPrintableCodec. decode(byte[] bytes)Decodes an array of quoted-printable characters into an array of original bytes. | 
| Object | URLCodec. decode(Object obj)Decodes a URL safe object into its original form. | 
| Object | QuotedPrintableCodec. decode(Object obj)Decodes a quoted-printable object into its original form. | 
| Object | QCodec. decode(Object obj)Decodes a quoted-printable object into its original form. | 
| Object | BCodec. decode(Object value)Decodes a Base64 object into its original form. | 
| String | URLCodec. decode(String str)Decodes a URL safe string into its original form using the default string charset. | 
| String | QuotedPrintableCodec. decode(String str)Decodes a quoted-printable string into its original form using the default string charset. | 
| String | QCodec. decode(String str)Decodes a quoted-printable string into its original form. | 
| String | BCodec. decode(String value)Decodes a Base64 string into its original form. | 
| String | QuotedPrintableCodec. decode(String str,
      Charset charset)Decodes a quoted-printable string into its original form using the specified string charset. | 
| String | URLCodec. decode(String str,
      String charset)Decodes a URL safe string into its original form using the specified encoding. | 
| String | QuotedPrintableCodec. decode(String str,
      String charset)Decodes a quoted-printable string into its original form using the specified string charset. | 
| static byte[] | QuotedPrintableCodec. decodeQuotedPrintable(byte[] bytes)Decodes an array quoted-printable characters into an array of original bytes. | 
| static byte[] | URLCodec. decodeUrl(byte[] bytes)Decodes an array of URL safe 7-bit characters into an array of original bytes. | 
| protected byte[] | QCodec. doDecoding(byte[] bytes) | 
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.