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 intavailable()voidclose()intread()intread(byte[] b)intread(byte[] b, int off, int len)longskip(long n)
-
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
read
public int read() throws IOException- Specified by:
readin interfaceorg.jboss.marshalling.ByteInput- Throws:
IOException
-
read
public int read(byte[] b) throws IOException- Specified by:
readin interfaceorg.jboss.marshalling.ByteInput- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Specified by:
readin interfaceorg.jboss.marshalling.ByteInput- Throws:
IOException
-
available
public int available() throws IOException- Specified by:
availablein interfaceorg.jboss.marshalling.ByteInput- Throws:
IOException
-
skip
public long skip(long n) throws IOException- Specified by:
skipin interfaceorg.jboss.marshalling.ByteInput- Throws:
IOException
-
-