Package org.redisson.codec
Class MarshallingCodec.ByteOutputWrapper
- java.lang.Object
-
- org.redisson.codec.MarshallingCodec.ByteOutputWrapper
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,org.jboss.marshalling.ByteOutput
- Enclosing class:
- MarshallingCodec
public static class MarshallingCodec.ByteOutputWrapper extends Object implements org.jboss.marshalling.ByteOutput
-
-
Constructor Summary
Constructors Constructor Description ByteOutputWrapper(io.netty.buffer.ByteBuf byteBuf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(byte[] b)voidwrite(byte[] b, int off, int len)voidwrite(int b)
-
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Throws:
IOException
-
write
public void write(int b) throws IOException- Specified by:
writein interfaceorg.jboss.marshalling.ByteOutput- Throws:
IOException
-
write
public void write(byte[] b) throws IOException- Specified by:
writein interfaceorg.jboss.marshalling.ByteOutput- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException- Specified by:
writein interfaceorg.jboss.marshalling.ByteOutput- Throws:
IOException
-
-