# README
ioutil 
Usage
local ioutil = require("ioutil")
-- ioutil.write_file()
local err = ioutil.write_file("./test/file.data", "content of test file")
if err then error(err) end
-- ioutil.read_file()
local result, err = ioutil.read_file("./test/file.data")
if err then error(err) end
if not(result == "content of test file") then error("ioutil.read_file()") end
# Functions
Loader is the module loader function.
Preload adds ioutil to the given Lua state's package.preload table.
ReadFile lua ioutil.read_file(filepath) reads the file named by filename and returns the contents, returns (string,error).
WriteFile lua ioutil.write_file(filepath, data) reads the file named by filename and returns the contents, returns (string,error).