# File lib/png.rb, line 166 def self.chunk(type, data="") [data.size, type, data, (type + data).png_crc].pack("Na*a*N") end