public class BLEInputStream
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
static int |
MAX_READ_BUFFER_CAPACITY |
Constructor and Description |
---|
BLEInputStream() |
Modifier and Type | Method and Description |
---|---|
void |
clearBuffer() |
boolean |
doesBufferHasRemaining() |
static BLEInputStream |
getInstance() |
void |
putDataInBuffer(byte[] data) |
int |
read() |
int |
read(byte[] bytes,
int off,
int len) |
public static final int MAX_READ_BUFFER_CAPACITY
public static BLEInputStream getInstance()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void putDataInBuffer(byte[] data)
public boolean doesBufferHasRemaining()
public void clearBuffer()