Package w.util.io
Class ByteOutputStream
java.lang.Object
java.io.OutputStream
w.util.io.ByteOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Author:
- whilein
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull OutputStreamwrap(@NotNull ByteOutput byteOutput) voidwrite(byte @NotNull [] b, int off, int len) voidwrite(int b) Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
Constructor Details
-
ByteOutputStream
public ByteOutputStream()
-
-
Method Details
-
wrap
-
write
public void write(byte @NotNull [] b, int off, int len) - Overrides:
writein classOutputStream
-
write
public void write(int b) - Specified by:
writein classOutputStream
-