public class MultiByteBufferInputStream extends InputStream
| Constructor and Description |
|---|
MultiByteBufferInputStream(io.netty.buffer.ByteBuf channelBuffer)
Create a stream from a channel buffer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, reset, skippublic MultiByteBufferInputStream(io.netty.buffer.ByteBuf channelBuffer)
channelBuffer - The channel buffer where to read the data frompublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2014. All rights reserved.