The text format is defined as follows:
By default, the output text files are automatically indented for readability.
Definition in file dt_stream_text.h.
Go to the source code of this file.
Enumerations | |
enum | dt_text_mode_flags { dt_text_packed = 1<<0, dt_text_crlf = 1<<1 } |
Formatting flags (currently only relevant to the output/writer object). More... | |
Functions | |
dt_reader_ * | dt_create_text_reader (FILE *src, dt_text_mode_flags mode) |
Create a reader that will decode the condents of the specified file. | |
dt_writer_ * | dt_create_text_writer (FILE *dst, dt_text_mode_flags mode) |
Create a writer that will decode the condents of the specified file. |
|
Formatting flags (currently only relevant to the output/writer object).
Definition at line 36 of file dt_stream_text.h. |
|
Create a reader that will decode the condents of the specified file. The caller retains ownership of the source file handle (src), and is responsible for closing it after destruction of the reader object.
Definition at line 56 of file dt_stream_text.c. |
|
Create a writer that will decode the condents of the specified file. The caller retains ownership of the output file handle (src), and is responsible for closing it after destruction of the writer object. Definition at line 223 of file dt_stream_text.c. |