public class RleOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
RleOutputStream(java.io.OutputStream bs)
Create an RLE output stream with the default marker byte.
|
RleOutputStream(java.io.OutputStream os,
int escapeChar)
Create an RLE output stream with the specified marker byte.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close out the data stream.
|
void |
flush()
Flush out any remaining data.
|
void |
write(int b)
Write the next byte to the output stream.
|
public RleOutputStream(java.io.OutputStream bs)
public RleOutputStream(java.io.OutputStream os,
int escapeChar)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOException