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
IOException
public void writeInt(int n, int min, int max) throws IOException
IOException
public void writeString(String string) throws IOException
01
IOException
see also the complete user documentation .