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, statjava.io.OutputStream getOutputStream()
void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionint write(java.io.InputStream is,
int length)
throws java.io.IOException
java.io.IOExceptionvoid print(char ch)
throws java.io.IOException
java.io.IOExceptionvoid print(java.lang.String s)
throws java.io.IOException
java.io.IOExceptionvoid flush()
throws java.io.IOException
java.io.IOExceptionvoid closeWrite()
void close()
close in interface BinaryStream