com.alibaba.dubbo.remoting.buffer
Class ChannelBufferOutputStream
java.lang.Object
java.io.OutputStream
com.alibaba.dubbo.remoting.buffer.ChannelBufferOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class ChannelBufferOutputStream
- extends OutputStream
- Author:
- kimi
ChannelBufferOutputStream
public ChannelBufferOutputStream(ChannelBuffer buffer)
writtenBytes
public int writtenBytes()
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write
in class OutputStream
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Overrides:
write
in class OutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException
buffer
public ChannelBuffer buffer()
Copyright © 2012–2017 Alibaba. All rights reserved.