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

Interface BinaryDecoder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      byte[]decode(byte[] source)
      Decodes a byte array and returns the results as a byte array.
      • Methods inherited from interface org.apache.commons.codec.Decoder

        decode
    • Method Detail

      • decode

        byte[] decode(byte[] source)
               throws DecoderException
        Decodes a byte array and returns the results as a byte array.
        Parameters:
        source - 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–2020 The Apache Software Foundation. All rights reserved.