# File lib/image_formats/G64.rb, line 45
def initialize(file_bytes)
  @file_bytes=file_bytes
  @tracks={}
  @end_track=0
  signature,version,raw_track_count,track_length=file_bytes.unpack("A8ccv")
  
  0.upto(raw_track_count-1) do |raw_track_no|
        cbm_track_no=(raw_track_no+2.0)/2
        track_offset=file_bytes[0x0c+4*raw_track_no,4].unpack("V")[0]
        if track_offset>0 then
                @end_track=cbm_track_no
        end
end

end