# frozen_string_literal: true require "zlib" require_relative "constants" module Unicode module Types File.open(INDEX_FILENAME, "rb") do |file| serialized_data = Zlib::GzipReader.new(file).read serialized_data.force_encoding Encoding::BINARY INDEX = Marshal.load(serialized_data) end end end