Start proper stream support.
This commit is contained in:
parent
5183aa821a
commit
e3e03dc31f
34 changed files with 421 additions and 402 deletions
|
@ -69,7 +69,12 @@ TomlContent* TomlReader::getContent() const
|
|||
void TomlReader::read(const FileSystemPath& input_path)
|
||||
{
|
||||
Vector<String> lines;
|
||||
File(input_path).readLines(lines);
|
||||
File input_file(input_path);
|
||||
|
||||
String buffer;
|
||||
input_file.read(buffer);
|
||||
buffer.split(lines, '\n');
|
||||
|
||||
mLastSectionOffset = 0;
|
||||
mWorkingTable = mContent->getRootTable();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue