FileProxy

FileProxy

(private) new FileProxy()

Proxy to read file contenxt

Description:
  • Should implement following methods:

    • openFile() - return Promise with true when file can be open normally
    • getFileName() - returns string with file name
    • getFileSize() - returns size of file
    • readBuffer(pos, len) - return promise with DataView for requested position and length
Source: