Package com.pi4j.io.serial.impl
Class SerialByteBuffer.SerialByteBufferInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.pi4j.io.serial.impl.SerialByteBuffer.SerialByteBufferInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- SerialByteBuffer
protected class SerialByteBuffer.SerialByteBufferInputStream extends InputStream
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSerialByteBufferInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()intread()intread(byte[] data)intread(byte[] data, int off, int len)longskip(long n)-
Methods inherited from class java.io.InputStream
close, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
-
-
-
Method Detail
-
available
public int available() throws IOException- Overrides:
availablein classInputStream- Throws:
IOException
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] data) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] data, int off, int len) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
skip
public long skip(long n) throws IOException, IllegalArgumentException- Overrides:
skipin classInputStream- Throws:
IOExceptionIllegalArgumentException
-
-