Class AbstractMetaListType

    • Constructor Detail

      • AbstractMetaListType

        public AbstractMetaListType()
    • Method Detail

      • read

        public java.util.List<Metadata> read​(io.netty.buffer.ByteBuf buffer)
                                      throws java.lang.Exception
        Description copied from interface: ByteBufReader
        Read a value from a ByteBuf
        Parameters:
        buffer - The buffer to read from.
        Returns:
        The type based on the class type.
        Throws:
        java.lang.Exception - Throws exception if it failed reading.
      • write

        public void write​(io.netty.buffer.ByteBuf buffer,
                          java.util.List<Metadata> object)
                   throws java.lang.Exception
        Description copied from interface: ByteBufWriter
        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
      • writeEnd

        protected abstract void writeEnd​(Type<Metadata> type,
                                         io.netty.buffer.ByteBuf buffer)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception