Class ChannelBufferByteOutput

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable, org.jboss.marshalling.ByteOutput

    class ChannelBufferByteOutput
    extends java.lang.Object
    implements org.jboss.marshalling.ByteOutput
    ByteOutput implementation which writes the data to a ChannelBuffer
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Throws:
        java.io.IOException
      • write

        public void write​(int b)
                   throws java.io.IOException
        Specified by:
        write in interface org.jboss.marshalling.ByteOutput
        Throws:
        java.io.IOException
      • write

        public void write​(byte[] bytes)
                   throws java.io.IOException
        Specified by:
        write in interface org.jboss.marshalling.ByteOutput
        Throws:
        java.io.IOException
      • write

        public void write​(byte[] bytes,
                          int srcIndex,
                          int length)
                   throws java.io.IOException
        Specified by:
        write in interface org.jboss.marshalling.ByteOutput
        Throws:
        java.io.IOException