public class MLLPInputStream extends BufferedInputStream
| Modifier and Type | Field and Description |
|---|---|
private boolean |
eom |
private static int |
EOM1 |
private static int |
EOM2 |
private ByteArrayOutputStream |
readBuffer |
private static int |
SOM |
in| Constructor and Description |
|---|
MLLPInputStream(InputStream in) |
MLLPInputStream(InputStream in,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
copyTo(OutputStream out) |
private void |
eom() |
boolean |
hasMoreInput() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
byte[] |
readMessage() |
private int |
remaining(int count) |
available, close, mark, markSupported, reset, skipreadprivate static final int SOM
private static final int EOM1
private static final int EOM2
private boolean eom
private ByteArrayOutputStream readBuffer
public MLLPInputStream(InputStream in)
public MLLPInputStream(InputStream in, int size)
public boolean hasMoreInput() throws IOException
IOExceptionpublic int read() throws IOException
read in class BufferedInputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class BufferedInputStreamIOExceptionpublic int copyTo(OutputStream out) throws IOException
IOExceptionpublic byte[] readMessage() throws IOException
IOExceptionprivate void eom() throws IOException
IOExceptionprivate int remaining(int count)
Copyright © 2017 dcm4che.org. All rights reserved.