public static class IOAsOutputStream.ByteStream extends IOAsOutputStream
IOAsOutputStream.ByteStream, IOAsOutputStream.Writable| Constructor and Description |
|---|
ByteStream(IO.WritableByteStream io)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IO.Writable |
getWrappedIO()
Return the underlying IO.Writable.
|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
getflush, writepublic ByteStream(IO.WritableByteStream io)
public IO.Writable getWrappedIO()
IOAsOutputStreamgetWrappedIO in class IOAsOutputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2019. All rights reserved.