Contents

encode(_:)

Encodes a single value of the given type.

Declaration

mutating func encode<T>(_ value: T) throws where T : Encodable

Parameters

  • value:

    The value to encode.

Discussion