Home All Groups
commons-codec / org / apache / commons / codec / BinaryEncoder.html /
org.apache.commons.codec

Interface BinaryEncoder

    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      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.

Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.