Module 

Class LimitedOutputStream

java.lang.Object
java.io.OutputStream
org.xnio.streams.LimitedOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public final class LimitedOutputStream extends OutputStream
An output stream which truncates the writable output to the given length. Attempting to exceed the fixed limit will result in an exception.
Author:
David M. Lloyd