--Load and save the bmp formats used by DEFCON. local t = {} local lfs = love.filesystem --FFI bit-twiddling stuff. local ffi = require 'ffi' local bit = require 'bit' function t.load( filename ) local bytes, size = lfs.read( filename ) print( "LOADED", filename, size) end function t.save( data, format ) end return t