mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
2009-12-07 Chris Toshok <[email protected]> * JsonReaderWriterFactory.cs (CreateJsonReader): pass null for the encoding parameter instead of calling Detect. The jsonreader's PushbackReader will autodetect. (Detect): remove. a BufferedStream created from an unseekable stream is itself unseekable, which makes it just as useless. This breaks netflix's isostore file parsing. * JsonReader.cs (PushbackReader): add a ctor which doesn't take an encoding, for the autodetecting reader case. for this ctor, pass true to StreamReader's ctor for detectEncodingFromByteOrderMarks. svn path=/trunk/mcs/; revision=147829