# File lib/as_main.rb, line 54 def self.create_bitcrusher_table(bits) shift = 8 - bits div = 256 - (1<<shift) Array.new(256){|i| ((i>>shift)<<shift)*65535/div}.pack("S*") end