# File lib/libwebsocket/frame.rb, line 30
    def append(string = nil)
      return unless string.is_a?(String)

      @buffer += string
      @buffer.force_encoding('ASCII-8BIT') if @buffer.respond_to?(:force_encoding)

      return self
    end