Class ByteBufWritableBuffer

  • All Implemented Interfaces:
    org.analogweb.WritableBuffer

    public class ByteBufWritableBuffer
    extends Object
    implements org.analogweb.WritableBuffer
    Author:
    y2k2mt
    • Method Detail

      • getByteBuf

        protected io.netty.buffer.ByteBuf getByteBuf()
      • writeBytes

        public org.analogweb.WritableBuffer writeBytes​(byte[] bytes)
                                                throws IOException
        Specified by:
        writeBytes in interface org.analogweb.WritableBuffer
        Throws:
        IOException
      • writeBytes

        public org.analogweb.WritableBuffer writeBytes​(byte[] bytes,
                                                       int index,
                                                       int length)
                                                throws IOException
        Specified by:
        writeBytes in interface org.analogweb.WritableBuffer
        Throws:
        IOException
      • writeBytes

        public org.analogweb.WritableBuffer writeBytes​(ByteBuffer buffer)
                                                throws IOException
        Specified by:
        writeBytes in interface org.analogweb.WritableBuffer
        Throws:
        IOException
      • from

        public org.analogweb.WritableBuffer from​(org.analogweb.ReadableBuffer readable)
                                          throws IOException
        Specified by:
        from in interface org.analogweb.WritableBuffer
        Throws:
        IOException