Class ByteLimitOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ByteLimitOutputStream extends LimitOutputStream
An OutputStream that limits how many bytes are written
Since:
0.9.62
  • Constructor Details

  • Method Details

    • write

      public void write(byte[] src, int off, int len) throws IOException
      Description copied from class: LimitOutputStream
      Subclasses MUST override the following method such that it calls done() when finished and throws EOFException if called again
      Overrides:
      write in class LimitOutputStream
      Throws:
      IOException