public interface BinaryOutput extends BinaryStream
SEEK_CUR, SEEK_END, SEEK_SET
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream.
|
void |
closeWrite()
Closes the stream for writing
|
void |
flush()
Flushes the output
|
java.io.OutputStream |
getOutputStream()
Returns an OutputStream.
|
void |
print(char ch)
prints a unicode character
|
void |
print(java.lang.String s)
prints
|
void |
write(byte[] buffer,
int offset,
int length)
Writes a buffer.
|
int |
write(java.io.InputStream is,
int length)
Writes a buffer.
|
getPosition, isEOF, seek, setPosition, stat
java.io.OutputStream getOutputStream()
void write(byte[] buffer, int offset, int length) throws java.io.IOException
java.io.IOException
int write(java.io.InputStream is, int length) throws java.io.IOException
java.io.IOException
void print(char ch) throws java.io.IOException
java.io.IOException
void print(java.lang.String s) throws java.io.IOException
java.io.IOException
void flush() throws java.io.IOException
java.io.IOException
void closeWrite()
void close()
close
in interface BinaryStream