Closeable
, Flushable
, AutoCloseable
public static class BytesTransmitter.TransmitterOutputStream extends OutputStream
Constructor | Description |
---|---|
TransmitterOutputStream(BytesTransmitter aBytesTransmitter) |
Uses the provided
BytesTransmitter to provide
OutputStream functionality. |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
void |
write(byte[] aBytes,
int aOffset,
int aLength) |
|
void |
write(int aByte) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flush, write
public TransmitterOutputStream(BytesTransmitter aBytesTransmitter)
BytesTransmitter
to provide
OutputStream
functionality.aBytesTransmitter
- The transmitter to use.public void write(int aByte) throws IOException
write
in class OutputStream
IOException
public void write(byte[] aBytes, int aOffset, int aLength) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
close
in class OutputStream
IOException
Copyright © 2021. All rights reserved.