Generic Instance Method

encode(contentsOf:)

Encodes the elements of the given sequence.

Required. Default implementation provided.

Declaration

mutating func encode<T>(contentsOf sequence: T) throws where T : Sequence, T.Element == Bool

Parameters

sequence

The sequences whose contents to encode.