|
Marshalling API version 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ByteOutput
An output stream of bytes.
Method Summary | |
---|---|
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 . |
Methods inherited from interface java.io.Closeable |
---|
close |
Methods inherited from interface java.io.Flushable |
---|
flush |
Method Detail |
---|
void write(int b) throws IOException
b
. The 24 high-order bits of
b
are ignored.
b
- the byte to write
IOException
- if an error occursvoid write(byte[] b) throws IOException
b
- the byte array
IOException
- 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 write
IOException
- if an error occurs
|
Marshalling API version 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |