All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class BEncoderStream extends BASE64EncoderStream
This class implements a 'B' Encoder as defined by RFC2047 for encoding MIME headers. It subclasses the BASE64EncoderStream class.
  • Constructor Details

    • BEncoderStream

      public BEncoderStream(OutputStream out)
      Create a 'B' encoder that encodes the specified input stream.
      Parameters:
      out - the output stream
  • Method Details

    • encodedLength

      public static int encodedLength(byte[] b)
      Returns the length of the encoded version of this byte array.
      Parameters:
      b - byte array.
      Returns:
      length of the byte array.