require('uxp').storage.formats

formats()

This namespace describes the file content formats supported in FS methods like read and write.

utf8 : Symbol

UTF8 File encoding

binary : Symbol

Binary file encoding