static public void SaveFile(string name, byte[] data, int offset, int size) { IO io = FileCreate(name); try { io.Write(data, offset, size); } finally { io.Close(); } }