AutoCloseable, Closeable, FlushableMarshallerAbstractMarshaller, AbstractObjectOutput, ByteBufferOutput, ByteOutputStream, LimitedByteOutput, MarshallerObjectOutputStream, ObjectOutputStreamMarshaller, OutputStreamByteOutput, SimpleByteOutput, SimpleDataOutputpublic interface ByteOutput extends Closeable, Flushable
| Modifier and Type | Method | Description |
|---|---|---|
void |
write(byte[] b) |
Write all the bytes from the given array to the stream.
|
void |
write(byte[] b,
int off,
int len) |
Write some of the bytes from the given array to the stream.
|
void |
write(int b) |
Writes to the output stream the eight low-order bits of the argument
b. |
void write(int b)
throws IOException
b. The 24 high-order bits of
b are ignored.b - the byte to writeIOException - if an error occursvoid write(byte[] b)
throws IOException
b - the byte arrayIOException - if an error occursvoid write(byte[] b,
int off,
int len)
throws IOException
b - the byte arrayoff - the index to start writing fromlen - the number of bytes to writeIOException - if an error occursCopyright © 2020 JBoss by Red Hat. All rights reserved.