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 Details

    • ByteInputWrapper

      public ByteInputWrapper(io.netty.buffer.ByteBuf byteBuf)
  • Method Details

    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • read

      public int read() throws IOException
      Specified by:
      read in interface org.jboss.marshalling.ByteInput
      Throws:
      IOException
    • read

      public int read(byte[] b) throws IOException
      Specified by:
      read in interface org.jboss.marshalling.ByteInput
      Throws:
      IOException
    • read

      public int read(byte[] b, int off, int len) throws IOException
      Specified by:
      read in interface org.jboss.marshalling.ByteInput
      Throws:
      IOException
    • available

      public int available() throws IOException
      Specified by:
      available in interface org.jboss.marshalling.ByteInput
      Throws:
      IOException
    • skip

      public long skip(long n) throws IOException
      Specified by:
      skip in interface org.jboss.marshalling.ByteInput
      Throws:
      IOException