Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.codec
Interface BinaryDecoder

All Superinterfaces:
  Decoder

All Known Implementing Classes:
  Base32, Base64, BaseNCodec, BinaryCodec, Hex, QuotedPrintableCodec, URLCodec

    public interface BinaryDecoder

extends Decoder

Defines common decoding methods for byte array decoders.

Version:
  $Id: BinaryDecoder.java 1157192 2011-08-12 17:27:38Z ggregory $
Author:
  Apache Software Foundation

Method Summary
`byte[]` | `decode(byte[] source)` Decodes a byte array and returns the results as a byte array.

Methods inherited from interface org.apache.commons.codec.Decoder
`decode`

Method Detail

### decode

    byte[] decode(byte[] source)
                  throws DecoderException

  Decodes a byte array and returns the results as a byte array.

  Parameters:
    `source` - A byte array which has been encoded with the appropriate encoder
  Returns:
    a byte array that contains decoded content
  Throws:
    `DecoderException` - A decoder exception is thrown if a Decoder encounters a failure condition during the decode process.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.