Function

Shell-18Shellget_file_contents_utf8_sync

  • Synchronously load the contents of a file as a NUL terminated string, validating it as UTF-8. Embedded NUL characters count as invalid content.

    Parameters

    • path: string

      UTF-8 encoded filename path

    Returns string

    File contents