public abstract class ModbusOutputStream extends OutputStream
| Constructor and Description |
|---|
ModbusOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
it should have invoked last
|
ByteFifo |
getFifo() |
byte[] |
toByteArray() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeShortBE(int s) |
void |
writeShortLE(int s) |
closepublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void writeShortBE(int s)
throws IOException
IOExceptionpublic void writeShortLE(int s)
throws IOException
IOExceptionpublic byte[] toByteArray()
public ByteFifo getFifo()
Copyright © 2018. All rights reserved.