类 ChannelBufferInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.alibaba.dubbo.remoting.buffer.ChannelBufferInputStream
-
- 所有已实现的接口:
Closeable
,AutoCloseable
public class ChannelBufferInputStream extends InputStream
-
-
构造器概要
构造器 构造器 说明 ChannelBufferInputStream(ChannelBuffer buffer)
ChannelBufferInputStream(ChannelBuffer buffer, int length)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
-
从类继承的方法 java.io.InputStream
close, nullInputStream, read, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
构造器详细资料
-
ChannelBufferInputStream
public ChannelBufferInputStream(ChannelBuffer buffer)
-
ChannelBufferInputStream
public ChannelBufferInputStream(ChannelBuffer buffer, int length)
-
-
方法详细资料
-
readBytes
public int readBytes()
-
available
public int available() throws IOException
- 覆盖:
available
在类中InputStream
- 抛出:
IOException
-
mark
public void mark(int readlimit)
- 覆盖:
mark
在类中InputStream
-
markSupported
public boolean markSupported()
- 覆盖:
markSupported
在类中InputStream
-
read
public int read() throws IOException
- 指定者:
read
在类中InputStream
- 抛出:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException
- 覆盖:
read
在类中InputStream
- 抛出:
IOException
-
reset
public void reset() throws IOException
- 覆盖:
reset
在类中InputStream
- 抛出:
IOException
-
skip
public long skip(long n) throws IOException
- 覆盖:
skip
在类中InputStream
- 抛出:
IOException
-
-