File Access in PresetManager example

Although the interappaudio example is made for MacOS, shouldn’t it be there also “rb” instead of “r” in PresetManager.mm?
And “wb” instead of “w” in the same file?

On Windows “rb” and “wb” seems to be required, since otherwise some presets do not load, when using:

IPtr<IBStream> stream = owned (FileStream::open(fn, "r"));
...
PresetFile preset(stream);
preset.loadPreset(stream, ...); 
...

I’ve no access to MacOS, so I cannot test myself, but AFAIK, MacOS also distinguisshes between “r” and “rb”.

Check fopen, fopen_s - cppreference.com, on mac (Posix) the flag b (binar) has no impact.