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 void
close()
void
flush()
void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int b)
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceFlushable
- Throws:
IOException
-
write
public void write(int b) throws IOException
- Specified by:
write
in interfaceorg.jboss.marshalling.ByteOutput
- Throws:
IOException
-
write
public void write(byte[] b) throws IOException
- Specified by:
write
in interfaceorg.jboss.marshalling.ByteOutput
- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException
- Specified by:
write
in interfaceorg.jboss.marshalling.ByteOutput
- Throws:
IOException
-
-