class ChannelBufferByteInput
extends java.lang.Object
implements org.jboss.marshalling.ByteInput
ByteInput implementation which reads its data from a ByteBuf| Constructor and Description |
|---|
ChannelBufferByteInput(ByteBuf buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] array) |
int |
read(byte[] dst,
int dstIndex,
int length) |
long |
skip(long bytes) |
private final ByteBuf buffer
ChannelBufferByteInput(ByteBuf buffer)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic int available()
throws java.io.IOException
available in interface org.jboss.marshalling.ByteInputjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in interface org.jboss.marshalling.ByteInputjava.io.IOExceptionpublic int read(byte[] array)
throws java.io.IOException
read in interface org.jboss.marshalling.ByteInputjava.io.IOExceptionpublic int read(byte[] dst,
int dstIndex,
int length)
throws java.io.IOException
read in interface org.jboss.marshalling.ByteInputjava.io.IOExceptionpublic long skip(long bytes)
throws java.io.IOException
skip in interface org.jboss.marshalling.ByteInputjava.io.IOException