Function getDocumentBodyAsString

  • Get the body of a document as string

    Parameters

    • file: string | FileSystemUri

      file name

    • encoding: BufferEncoding = 'utf-8'

    Returns Promise<string>