public class ChannelBufferInputStream extends InputStream
| Constructor and Description |
|---|
ChannelBufferInputStream(ChannelBuffer buffer) |
ChannelBufferInputStream(ChannelBuffer buffer,
int length) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
int |
readBytes() |
void |
reset() |
long |
skip(long n) |
close, readpublic ChannelBufferInputStream(ChannelBuffer buffer)
public ChannelBufferInputStream(ChannelBuffer buffer, int length)
public int readBytes()
public int available()
throws IOException
available in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.