org.apache.commons.codec

Interface BinaryDecoder

public interface BinaryDecoder extends Decoder

Defines common decoding methods for byte array decoders.

Version: $Id: BinaryDecoder.java 130378 2004-06-15 18:14:15Z ggregory $

Author: Apache Software Foundation

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

Method Detail

decode

public byte[] decode(byte[] pArray)
Decodes a byte array and returns the results 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.

commons-codec version 1.3 - Copyright © 2002-2004 - Apache Software Foundation