@unikue/ts-lang-utils
    Preparing search index...

    Function readAsDataUrl

    Utilities for file

    David Hsing

    • Read and convert the given file to data url

      Parameters

      • Optionalfile: File

        The file to inspect

      • Optionalresolve: (res?: string) => void

        The callback function to execute when the file read success

      • Optionalreject: (ev?: ProgressEvent<FileReader>) => void

        The callback function to execute when the file read failure

      Returns void

      David Hsing