Finalizes the stream by flushing all the remaining data in the stream.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 11.0+
Framework
- Compression
Declaration
func finalize() throws
Finalizes the stream by flushing all the remaining data in the stream.
SDKs
Framework
func finalize() throws