customStream(instance:)
Returns a new archive stream instance mapped to an object that conforms to the archive stream protocol.
Declaration
static func customStream<C>(instance: C) -> ArchiveStream? where C : AnyObject, C : ArchiveStreamProtocolParameters
- instance:
The object that the new archive stream wraps.
Return Value
A new archive stream.