# File lib/libwebsocket/frame.rb, line 59 def to_s ary = ["\x00", @buffer.dup, "\xff"] ary.collect{ |s| s.force_encoding('UTF-8') if s.respond_to?(:force_encoding) } return ary.join end