Class: StreamWriterU

StreamWriterU

Stream writer for a utf-8 text file.

Constructor

new StreamWriterU(filename, specifier)

Parameters:
Name Type Description
filename String name of the text file to open/create.
specifier Number of line separator. See StreamUOpts
Source:
Throws:
when the filename is falsy value or when failed to open file.
Type
Error

Extends

Methods

Close()

Close current text stream.
Source:

Save()

Save current stream to the file.
Source:

Write(text)

Write text to tail of the stream.
Parameters:
Name Type Description
text String to write.
Source:

WriteLine(text)

Write 1 line to tail of the stream.
Parameters:
Name Type Description
text String to write.
Source: