Returns an initialized output stream that will write to memory.
- iOS 2.0+
- macOS 10.3+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
An initialized output stream that will write stream data to memory.
The stream must be opened before it can be used.
The contents of the memory stream are retrieved by passing the constant