public class MLLPOutputStream extends FilterOutputStream
Modifier and Type | Field and Description |
---|---|
private static byte[] |
EOM |
private static int |
SOM |
private boolean |
somWritten |
out
Constructor and Description |
---|
MLLPOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
finish() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeMessage(byte[] b) |
void |
writeMessage(byte[] b,
int off,
int len) |
private void |
writeStartBlock() |
close, flush, write
private static final int SOM
private static final byte[] EOM
private boolean somWritten
public MLLPOutputStream(OutputStream out)
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void writeMessage(byte[] b) throws IOException
IOException
public void writeMessage(byte[] b, int off, int len) throws IOException
IOException
private void writeStartBlock() throws IOException
IOException
public void finish() throws IOException
IOException
Copyright © 2017 dcm4che.org. All rights reserved.