Class RemainingBytesType

    • Constructor Detail

      • RemainingBytesType

        public RemainingBytesType()
    • Method Detail

      • read

        public byte[] read​(io.netty.buffer.ByteBuf buffer)
        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.
      • write

        public void write​(io.netty.buffer.ByteBuf buffer,
                          byte[] object)
        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