Class OutputLineStream
Text file writer which supports different text file formats
class OutputLineStream;
Constructors
| Name | Description |
|---|---|
this
(stream, filename, format)
|
create |
Fields
| Name | Type | Description |
|---|---|---|
_buf
|
char[] | |
_filename
|
string | |
_firstLine
|
bool | |
_format
|
TextFileFormat | |
_len
|
int | |
_stream
|
OutputStream | |
MAX_BUFFER_SIZE
|
immutable(int) |
Methods
| Name | Description |
|---|---|
close
()
|
close stream |
writeLine
(line)
|
write single line |
convertAndWrite
(s)
|
convert character encoding and write to output stream |
flush
()
|