Package org.redisson.codec
Class MarshallingCodec.ByteInputWrapper
- java.lang.Object
-
- org.redisson.codec.MarshallingCodec.ByteInputWrapper
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.jboss.marshalling.ByteInput
- Enclosing class:
- MarshallingCodec
public static class MarshallingCodec.ByteInputWrapper extends Object implements org.jboss.marshalling.ByteInput
-
-
Constructor Summary
Constructors Constructor Description ByteInputWrapper(io.netty.buffer.ByteBuf byteBuf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
available()
void
close()
int
read()
int
read(byte[] b)
int
read(byte[] b, int off, int len)
long
skip(long n)
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
read
public int read() throws IOException
- Specified by:
read
in interfaceorg.jboss.marshalling.ByteInput
- Throws:
IOException
-
read
public int read(byte[] b) throws IOException
- Specified by:
read
in interfaceorg.jboss.marshalling.ByteInput
- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException
- Specified by:
read
in interfaceorg.jboss.marshalling.ByteInput
- Throws:
IOException
-
available
public int available() throws IOException
- Specified by:
available
in interfaceorg.jboss.marshalling.ByteInput
- Throws:
IOException
-
skip
public long skip(long n) throws IOException
- Specified by:
skip
in interfaceorg.jboss.marshalling.ByteInput
- Throws:
IOException
-
-