# File lib/stomp_server/stomp_frame.rb, line 39
  def parse_body(len)
    raise RuntimeError.new("Invalid stompframe (missing null term)") unless @buffer[len] == 0
    @frame.body = @buffer[0...len]
    @buffer = @buffer[len+1..-1]
    @frames << @frame
    @frame = StompServer::StompFrame.new
  end