public class NGInputStream extends InputStream
Constructor and Description |
---|
NGInputStream(NGCommunicator communicator)
Creates a new NGInputStream over
NGCommunicator |
Modifier and Type | Method and Description |
---|---|
int |
available() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int offset,
int length) |
close, mark, reset, skip
public NGInputStream(NGCommunicator communicator)
NGCommunicator
communicator
- Lower level communicator which handles all reads from the socketpublic int available() throws IOException
available
in class InputStream
IOException
InputStream.available()
public boolean markSupported()
markSupported
in class InputStream
InputStream.markSupported()
public int read() throws IOException
read
in class InputStream
IOException
InputStream.read()
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
InputStream.read(byte[])
public int read(byte[] b, int offset, int length) throws IOException
read
in class InputStream
IOException
InputStream.read(byte[], int, int)
Copyright © 2024. All rights reserved.