org.ajax4jsf.util.base64

## Interface BinaryEncoder

- All Superinterfaces:
    Encoder
  All Known Implementing Classes:
    URL64Codec, URLCodec

      public interface BinaryEncoder
      extends Encoder

  Defines common encoding methods for byte array encoders.
  Version:
    $Id: BinaryEncoder.java,v 1.1.2.1 2007/01/09 18:59:13 alexsmirnov Exp $
  Author:
    Apache Software Foundation

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `encode(byte[] pArray)` Encodes a byte array and return the encoded data as a byte array.

    - ### Methods inherited from interface org.ajax4jsf.util.base64.Encoder

      `encode`

- - ### Method Detail

    - #### encode

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

      Encodes a byte array and return the encoded data as a byte array.
      Parameters:
        `pArray` - 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.

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.