org.apache.commons.codec
Interface BinaryDecoder
- All Superinterfaces:
- Decoder
- All Known Implementing Classes:
- Base64
- public interface BinaryDecoder
- extends Decoder
This interface defines common decoding methods for decoders
which decode byte arrays.
- Version:
- $Revision: 1.1 $ $Date: 2003/04/25 17:50:56 $
- Author:
- Tim O'Brien
Method Summary |
byte[] |
decode(byte[] pArray)
Decode a byte array and return the results of the decode
as a byte array. |
Methods inherited from interface org.apache.commons.codec.Decoder |
decode |
decode
public byte[] decode(byte[] pArray)
throws DecoderException
- Decode a byte array and return the results of the decode
as a byte array.
- Parameters:
pArray
- 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.
Copyright © 2002-2003 Apache Software Foundation. All Rights Reserved.