Contents

encode(contentsOf:)

Encodes the elements of the given sequence.

Declaration

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

Parameters

  • sequence:

    The sequences whose contents to encode.

Discussion