Contents

encodedData

The encoded data for the archiver.

Declaration

var encodedData: Data { get }

Discussion

If encoding has not yet finished, invoking this property calls finishEncoding() and populates this property with the encoded data. If you initialized the keyed archiver with init(forWritingWith:) and a specific mutable data instance, this property contains that instance.

See Also

Archiving Data