Read and convert the given file to data url
Optionalfile: FileThe file to inspect
Optionalresolve: (res?: string) => voidThe callback function to execute when the file read success
Optionalreject: (ev?: ProgressEvent<FileReader>) => voidThe callback function to execute when the file read failure
Utilities for file
Author
David Hsing