类 ChannelBufferOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.alibaba.dubbo.remoting.buffer.ChannelBufferOutputStream
-
- 所有已实现的接口:
Closeable
,Flushable
,AutoCloseable
public class ChannelBufferOutputStream extends OutputStream
-
-
构造器概要
构造器 构造器 说明 ChannelBufferOutputStream(ChannelBuffer buffer)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ChannelBuffer
buffer()
void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int b)
int
writtenBytes()
-
从类继承的方法 java.io.OutputStream
close, flush, nullOutputStream
-
-
-
-
构造器详细资料
-
ChannelBufferOutputStream
public ChannelBufferOutputStream(ChannelBuffer buffer)
-
-
方法详细资料
-
writtenBytes
public int writtenBytes()
-
write
public void write(byte[] b, int off, int len) throws IOException
- 覆盖:
write
在类中OutputStream
- 抛出:
IOException
-
write
public void write(byte[] b) throws IOException
- 覆盖:
write
在类中OutputStream
- 抛出:
IOException
-
write
public void write(int b) throws IOException
- 指定者:
write
在类中OutputStream
- 抛出:
IOException
-
buffer
public ChannelBuffer buffer()
-
-