fix bug where default stream reader wrote header for every object

This commit is contained in:
Plaisted
2021-02-07 10:51:02 -06:00
parent c6ed29bda4
commit ca0b90523e
2 changed files with 3 additions and 2 deletions

View File

@@ -67,11 +67,11 @@
};
var token = new DictionaryToken(dictionary);
if (reservedIndirect != null)
{
return writer.WriteToken(token, reservedIndirect);
}
}
var result = writer.WriteToken(token);

View File

@@ -43,6 +43,7 @@
Stream.WriteByte(196);
Stream.WriteByte(210);
Stream.WriteNewLine();
Initialized = true;
}
public void Dispose()