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