Enumeration
XMLEncoder.DataEncodingStrategy
public enum DataEncodingStrategy
The strategy to use for encoding Data
values.
Relationships
Member Of
XMLEncoder
XMLEncoder
facilitates the encoding ofEncodable
values into XML.
Enumeration Cases
custom
case custom((Data, Encoder) throws -> ())
Encode the Data
as a custom value encoded by the given closure.
If the closure fails to encode a value into the given encoder, the encoder will encode an empty automatic container in its place.