Class Base45OutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

Provides RFC 9285 Base45 encoding in a streaming fashion (unlimited size).

Note: Call BaseNCodecOutputStream.close() or BaseNCodecOutputStream.eof() after the last byte has been written; otherwise the final partial block will be omitted and the resulting data will be incomplete.

Since:
1.23.0
See Also:
  • Constructor Details

    • Base45OutputStream

      public Base45OutputStream(OutputStream outputStream)
      Constructs a Base45OutputStream such that all data written is Base45-encoded to the original provided OutputStream.
      Parameters:
      outputStream - OutputStream to wrap.
  • Method Details