Contents

encode(_:)

Encodes the given value.

Declaration

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

Parameters

  • value:

    The value to encode.

Discussion