public class EncodingOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
EncodingOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeInt(int min,
int n)
Write out "n" for a value which is always geq "min", but no upper limit is known.
|
void |
writeInt(int n,
int min,
int max)
Write out "n" for a value always geq "min" and leq "max".
|
void |
writeString(String string)
Write out a character sequence.
|
public EncodingOutputStream(OutputStream out)
public void writeInt(int min,
int n)
throws IOException
1 2 5 8 13 stopbit
15 = 0 1 0 0 1 1
IOExceptionpublic void writeInt(int n,
int min,
int max)
throws IOException
IOExceptionpublic void writeString(String string) throws IOException
0
1
IOExceptionsee also the complete user documentation .