public class ReadChars3Stream
extends java.lang.Object
| Constructor and Description |
|---|
ReadChars3Stream() |
| Modifier and Type | Method and Description |
|---|---|
private static int |
convert3Chars(java.lang.CharSequence s3,
byte[] data,
int ixData) |
static java.lang.String |
read(byte[] data,
int idxStart,
java.io.BufferedReader input)
Reads 3-char coded input
|
static int[] |
readNoExc(byte[] data,
int idxStart,
java.io.BufferedReader input)
Reads 3-char coded input
|
static void |
write(byte[] data,
int from,
int length,
java.lang.Appendable out) |
public static java.lang.String read(byte[] data,
int idxStart,
java.io.BufferedReader input)
throws java.io.IOException
data - Output array to write data.idxStart - Start index in data to writeinput - Input stream starting with a line containing 3-char-words.
The terminated line should start with &&&.java.io.IOException - if any io-operation failed.public static int[] readNoExc(byte[] data,
int idxStart,
java.io.BufferedReader input)
throws java.io.IOException
data - Output array to write data.idxStart - Start index in data to writeinput - Input stream starting with a line containing 3-char-words.
The terminated line should start with &&&.java.io.IOExceptionprivate static int convert3Chars(java.lang.CharSequence s3,
byte[] data,
int ixData)
public static void write(byte[] data,
int from,
int length,
java.lang.Appendable out)
throws java.io.IOException
data - out - java.io.IOException