Class 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 Detail

      • ByteInputWrapper

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

      • 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