Start proper stream support.

This commit is contained in:
jmsgrogan 2024-01-21 16:27:30 +00:00
parent 5183aa821a
commit e3e03dc31f
34 changed files with 421 additions and 402 deletions

View file

@ -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();