Class ASCII85Codec

java.lang.Object
com.helger.base.codec.impl.ASCII85Codec
All Implemented Interfaces:
IByteArrayDecoder, IByteArrayStreamDecoder, IDecoder<byte[],byte[]>

public class ASCII85Codec extends Object implements IByteArrayStreamDecoder
Decoder for ASCII85 encoded values
Author:
Philip Helger
  • Constructor Details

    • ASCII85Codec

      public ASCII85Codec()
  • Method Details

    • decode

      public void decode(@Nullable byte[] aEncodedBuffer, @Nonnegative int nOfs, @Nonnegative int nLen, @Nonnull @WillNotClose OutputStream aOS)
      Description copied from interface: IByteArrayStreamDecoder
      Decode (part of) a byte array.
      Specified by:
      decode in interface IByteArrayStreamDecoder
      Parameters:
      aEncodedBuffer - The byte array to be decoded. May be null.
      nOfs - Offset into the byte array to start from.
      nLen - Number of bytes starting from offset to consider.
      aOS - The output stream to write to. May not be null and is NOT closed afterwards!