# File lib/riddle/client/message.rb, line 17 def append_string(str) string = str.respond_to?(:force_encoding) ? str.dup.force_encoding('ASCII-8BIT') : str @message << [string.send(@size_method)].pack('N') + string end