TextFile
- writeWrite a string into a TextFile in a BrowserPod Pod's virtual filesystem, returning the number of bytes written.
- readRead text from a TextFile in a BrowserPod Pod, returning the requested length of data as a decoded string.
- getSizeGet the size in bytes of a TextFile stored in a BrowserPod Pod's virtual filesystem, returned as a promise.
- closeClose a TextFile handle in a BrowserPod Pod to flush pending writes and release the file once you have finished reading or writing.