public class ASCIIInputStream extends FilterInputStream
Note that the characters denoting start and end of a frame as given by the specification are exceptions; They are translated to the "virtual" FRAME_START and FRAME_END.
net.wimpi.modbus.io.ModbusASCIITransport#FRAME_START,
net.wimpi.modbus.io.ModbusASCIITransport#FRAME_ENDin| Constructor and Description |
|---|
ASCIIInputStream(InputStream in)
Constructs a new ASCIIInputStream instance
reading from the given InputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read()
Reads a byte from the ASCII encoded stream.
|
available, close, mark, markSupported, read, read, reset, skippublic ASCIIInputStream(InputStream in)
in - a base input stream to be wrapped.public int read()
throws IOException
read in class FilterInputStreamIOException - if an I/O error occurs.Copyright © 2017. All rights reserved.