Interface ByteBufWriter<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(io.netty.buffer.ByteBuf buffer, T object)
      Write an object to a type to a ByteBuf
    • Method Detail

      • write

        void write​(io.netty.buffer.ByteBuf buffer,
                   T object)
            throws java.lang.Exception
        Write an object to a type to a ByteBuf
        Parameters:
        buffer - The buffer to write to
        object - The object to write
        Throws:
        java.lang.Exception - Throws if it failed to write