public class CramArray extends Object
| Constructor and Description |
|---|
CramArray() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
array(InputStream inputStream)
Read CRAM int array from a
InputStream. |
static int |
write(int[] array,
OutputStream outputStream)
Write CRAM int array to a
OutputStream. |
public static int[] array(InputStream inputStream) throws IOException
InputStream.inputStream - the inputs stream to read fromIOException - as per java IO contractpublic static int write(int[] array,
OutputStream outputStream)
throws IOException
OutputStream.array - the array to be writtenoutputStream - the output stream to write toIOException - as per java IO contract