/* * call-seq: * each_byte(&block) * * Iterates over the decompressed bytes of the file. * * Bzip2::Writer.open('file'){ |f| f << 'asdf' } * reader = Bzip2::Reader.new File.open('file') * reader.each_byte{ |b| puts "#{b} #{b.chr}" } * * # Output: * # 97 a * # 115 s * # 100 d * # 102 f * * @yieldparam [Integer] byte the decompressed bytes of the file */ static VALUE bz_reader_each_byte(VALUE obj) {