InputStream / OutputStream differences on Linux

I'm seeing a few differences in initializer signatures between Mac and Linux for InputStream and OutputStream classes (I'm trying to subclass them)- specifically on Linux I'm being made to override OutputStream's init(toMemory: ()) and am not allowed to invoke the zero-arg init() on Inputstream. To get OutputStream compiling across both, the compiler is making me do this which feels quite weird

I presumed these APIs are stable given the Core Foundation heritage, but am I doing something dumb or is there documentation for these class/platform disparities I can read somewhere?

I'm building with 5.1.3 on both platforms FWIW

Thanks :)

Terms of Service

Privacy Policy

Cookie Policy