public class SerialPortInputStream
extends InputStream
Constructor and Description |
---|
SerialPortInputStream(SerialPortWrapper serialPort)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int length) |
public SerialPortInputStream(@Nonnull SerialPortWrapper serialPort)
serialPort
- The serial port.public int available() throws IOException
available
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buffer, int offset, int length) throws IOException
read
in class InputStream
IOException
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.