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 BinaryEncoder

All Superinterfaces:
  Encoder

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

    public interface BinaryEncoder

extends Encoder

Defines common encoding methods for byte array encoders.

Version:
  $Id: BinaryEncoder.java 1379145 2012-08-30 21:02:52Z tn $

Method Summary
`byte[]` | `encode(byte[] source)` Encodes a byte array and return the encoded data as a byte array.

Methods inherited from interface org.apache.commons.codec.Encoder
`encode`

Method Detail

### encode

    byte[] encode(byte[] source)
                  throws EncoderException

  Encodes a byte array and return the encoded data as a byte array.

  Parameters:
    `source` - Data to be encoded
  Returns:
    A byte array containing the encoded data
  Throws:
    `EncoderException` - thrown if the Encoder encounters a failure condition during the encoding 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-2012 The Apache Software Foundation. All Rights Reserved.