Class ASCII85OutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
net.solarnetwork.io.ASCII85OutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ASCII85OutputStream extends FilterOutputStream
The ASCII85InputStream encodes binary data as ASCII base-85 encoding. The exact definition of ASCII base-85 encoding can be found in the PostScript Language Reference (3rd ed.) chapter 3.13.3.

This adaptation from the original source omits the ASCII85 "armor" <~ and ~>.

Version:
1.4 2003/04/13 05:34:45
Author:
Mark Donszelmann
  • Field Details

    • MAX_CHARS_PER_LINE

      public static final int MAX_CHARS_PER_LINE
      The maximum number of characters per line.
      See Also:
    • a85p1

      public static long a85p1
      The ASCII-85 point 1 value.
    • a85p2

      public static long a85p2
      The ASCII-85 point 2 value.
    • a85p3

      public static long a85p3
      The ASCII-85 point 3 value.
    • a85p4

      public static long a85p4
      The ASCII-85 point 4 value.
  • Constructor Details

    • ASCII85OutputStream

      public ASCII85OutputStream(OutputStream out)
      Constructor.
      Parameters:
      out - the output stream to write to
  • Method Details