Skip to main content

File

Index

Methods

Methods

publicstaticexists

  • exists(filename: string): boolean
  • Determines whether file exists with the specified filename.

publicstaticread

  • read(filename: string, encoding?: Utf8 | Utf16 | utf-8 | utf-16): string
  • read(filename: string, encoding: Binary | binary): ArrayBuffer
  • Reads content of the file.