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, skip
read
private 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
IOException
public int read() throws IOException
read
in class BufferedInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class BufferedInputStream
IOException
public int copyTo(OutputStream out) throws IOException
IOException
public byte[] readMessage() throws IOException
IOException
private void eom() throws IOException
IOException
private int remaining(int count)
Copyright © 2017 dcm4che.org. All rights reserved.