public class ByteBufferInputStream extends CountInputStream
Constructor and Description |
---|
ByteBufferInputStream(SocketChannel channel) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getBytesRead() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, mark, markSupported, read, reset, skip
public ByteBufferInputStream(SocketChannel channel) throws IOException
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public long getBytesRead()
Copyright © 2017. All rights reserved.