Package io.quarkus.vertx.core.runtime
Class BufferOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- io.quarkus.vertx.core.runtime.BufferOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class BufferOutputStream extends OutputStream
SimpleOutputStreamimplementation that appends content written in givenBufferinstance.
-
-
Constructor Summary
Constructors Constructor Description BufferOutputStream(io.vertx.core.buffer.Buffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(byte[] b, int off, int len)voidwrite(int b)-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
-
-
-
Method Detail
-
write
public void write(byte[] b, int off, int len) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(int b) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
-