Function readFile

  • Reads the entire contents of a file.

    Parameters

    • path: string

      File path.

    Returns Promise<Uint8Array>