# File lib/rubytorrent/bencoding.rb, line 132 def self.parse_bencoding(c, s) ret = RubyTorrent::BStream.new(s).map { |x| x } raise RubyTorrent::BEncodingError, "missing list terminator" unless s.getc == ?e ret end