The search functionality needs JavaScript enabled
Saves the given resource object to a file at the target path. flags is a bitmask composed with ResourceSaver.saverflags constants. Returns constant OK on success, or an error constant in case of failure.
path
flags
ResourceSaver.saverflags
constant OK
error
long save ( const(String) path, Resource resource, const(long) flags ) nothrow @nogc;